From fb23deb2b39769db2a9f2ebbb19f4506b3a5061f Mon Sep 17 00:00:00 2001 From: Ryoga-exe Date: Fri, 18 Oct 2024 12:47:10 +0900 Subject: [PATCH 1/5] fix: refers to Zig 0.13.0 --- .../00-getting-started/02-installation.mdx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx b/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx index fce730c..06016a9 100644 --- a/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx +++ b/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx @@ -19,9 +19,9 @@ import TabItem from "@theme/TabItem"; ### Installing manually - 1. [Download](https://ziglang.org/download/#release-0.12.0) a prebuilt version of Zig. + 1. [Download](https://ziglang.org/download/#release-0.13.0) a prebuilt version of Zig. - Choose a build of Zig 0.12 for Linux that matches your CPU architecture. If you're unsure which architecture you're using, this can be found with: + Choose a build of Zig 0.13 for Linux that matches your CPU architecture. If you're unsure which architecture you're using, this can be found with: ```bash uname -m @@ -30,13 +30,13 @@ import TabItem from "@theme/TabItem"; 2. Extract the archive using tar, e.g. ```bash - tar xf zig-linux-x86_64-0.12.0.tar.xz + tar xf zig-linux-x86_64-0.13.0.tar.xz ``` 3. Add the location of your Zig binary to your path, e.g. ```bash - echo 'export PATH="$HOME/zig-linux-x86_64-0.12.0:$PATH"' >> ~/.bashrc + echo 'export PATH="$HOME/zig-linux-x86_64-0.13.0:$PATH"' >> ~/.bashrc ``` @@ -56,9 +56,9 @@ import TabItem from "@theme/TabItem"; ### Installing manually - 1. [Download](https://ziglang.org/download/#release-0.12.0) a prebuilt version of Zig. + 1. [Download](https://ziglang.org/download/#release-0.13.0) a prebuilt version of Zig. - Choose a build of Zig 0.12 for Windows that matches your CPU architecture. Most Windows systems use `x86_64`, also known as `AMD64`. If you're unsure which architecture you're using, this can be found with: + Choose a build of Zig 0.13 for Windows that matches your CPU architecture. Most Windows systems use `x86_64`, also known as `AMD64`. If you're unsure which architecture you're using, this can be found with: ```powershell $Env:PROCESSOR_ARCHITECTURE @@ -118,7 +118,7 @@ Verify your installation with `zig version`. The output should look like this: ``` $ zig version -0.12.0 +0.13.0 ``` ### Extras From e00c8a5e9a5bbe9057a88b54562931b240409653 Mon Sep 17 00:00:00 2001 From: Ryoga-exe Date: Fri, 18 Oct 2024 12:57:31 +0900 Subject: [PATCH 2/5] fix: refers to Zig 0.13.0 --- .../00-getting-started/02-installation.mdx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/website/versioned_docs/version-0.13/00-getting-started/02-installation.mdx b/website/versioned_docs/version-0.13/00-getting-started/02-installation.mdx index fce730c..06016a9 100644 --- a/website/versioned_docs/version-0.13/00-getting-started/02-installation.mdx +++ b/website/versioned_docs/version-0.13/00-getting-started/02-installation.mdx @@ -19,9 +19,9 @@ import TabItem from "@theme/TabItem"; ### Installing manually - 1. [Download](https://ziglang.org/download/#release-0.12.0) a prebuilt version of Zig. + 1. [Download](https://ziglang.org/download/#release-0.13.0) a prebuilt version of Zig. - Choose a build of Zig 0.12 for Linux that matches your CPU architecture. If you're unsure which architecture you're using, this can be found with: + Choose a build of Zig 0.13 for Linux that matches your CPU architecture. If you're unsure which architecture you're using, this can be found with: ```bash uname -m @@ -30,13 +30,13 @@ import TabItem from "@theme/TabItem"; 2. Extract the archive using tar, e.g. ```bash - tar xf zig-linux-x86_64-0.12.0.tar.xz + tar xf zig-linux-x86_64-0.13.0.tar.xz ``` 3. Add the location of your Zig binary to your path, e.g. ```bash - echo 'export PATH="$HOME/zig-linux-x86_64-0.12.0:$PATH"' >> ~/.bashrc + echo 'export PATH="$HOME/zig-linux-x86_64-0.13.0:$PATH"' >> ~/.bashrc ``` @@ -56,9 +56,9 @@ import TabItem from "@theme/TabItem"; ### Installing manually - 1. [Download](https://ziglang.org/download/#release-0.12.0) a prebuilt version of Zig. + 1. [Download](https://ziglang.org/download/#release-0.13.0) a prebuilt version of Zig. - Choose a build of Zig 0.12 for Windows that matches your CPU architecture. Most Windows systems use `x86_64`, also known as `AMD64`. If you're unsure which architecture you're using, this can be found with: + Choose a build of Zig 0.13 for Windows that matches your CPU architecture. Most Windows systems use `x86_64`, also known as `AMD64`. If you're unsure which architecture you're using, this can be found with: ```powershell $Env:PROCESSOR_ARCHITECTURE @@ -118,7 +118,7 @@ Verify your installation with `zig version`. The output should look like this: ``` $ zig version -0.12.0 +0.13.0 ``` ### Extras From f39a03d0b3e93fca62466f5ea0bcc8e2fcb3c826 Mon Sep 17 00:00:00 2001 From: Ryoga-exe Date: Wed, 23 Oct 2024 09:26:32 +0900 Subject: [PATCH 3/5] fix: 0.14 version of the guide should use 0.14.0 --- .../00-getting-started/02-installation.mdx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx b/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx index 06016a9..a91866e 100644 --- a/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx +++ b/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx @@ -19,9 +19,9 @@ import TabItem from "@theme/TabItem"; ### Installing manually - 1. [Download](https://ziglang.org/download/#release-0.13.0) a prebuilt version of Zig. + 1. [Download](https://ziglang.org/download/#release-0.14.0) a prebuilt version of Zig. - Choose a build of Zig 0.13 for Linux that matches your CPU architecture. If you're unsure which architecture you're using, this can be found with: + Choose a build of Zig 0.14 for Linux that matches your CPU architecture. If you're unsure which architecture you're using, this can be found with: ```bash uname -m @@ -30,13 +30,13 @@ import TabItem from "@theme/TabItem"; 2. Extract the archive using tar, e.g. ```bash - tar xf zig-linux-x86_64-0.13.0.tar.xz + tar xf zig-linux-x86_64-0.14.0.tar.xz ``` 3. Add the location of your Zig binary to your path, e.g. ```bash - echo 'export PATH="$HOME/zig-linux-x86_64-0.13.0:$PATH"' >> ~/.bashrc + echo 'export PATH="$HOME/zig-linux-x86_64-0.14.0:$PATH"' >> ~/.bashrc ``` @@ -56,9 +56,9 @@ import TabItem from "@theme/TabItem"; ### Installing manually - 1. [Download](https://ziglang.org/download/#release-0.13.0) a prebuilt version of Zig. + 1. [Download](https://ziglang.org/download/#release-0.14.0) a prebuilt version of Zig. - Choose a build of Zig 0.13 for Windows that matches your CPU architecture. Most Windows systems use `x86_64`, also known as `AMD64`. If you're unsure which architecture you're using, this can be found with: + Choose a build of Zig 0.14 for Windows that matches your CPU architecture. Most Windows systems use `x86_64`, also known as `AMD64`. If you're unsure which architecture you're using, this can be found with: ```powershell $Env:PROCESSOR_ARCHITECTURE @@ -118,7 +118,7 @@ Verify your installation with `zig version`. The output should look like this: ``` $ zig version -0.13.0 +0.14.0 ``` ### Extras From 1fbc79c1b16abc44b6571e2ad1102b5acdf14423 Mon Sep 17 00:00:00 2001 From: Ryoga-exe Date: Fri, 8 Nov 2024 12:02:49 +0900 Subject: [PATCH 4/5] fix: 0.14 version --- .../00-getting-started/02-installation.mdx | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx b/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx index a91866e..80bba88 100644 --- a/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx +++ b/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx @@ -15,7 +15,7 @@ import TabItem from "@theme/TabItem"; {label: 'macOS', value: 'macos'}, ]}> - Consider getting Zig from your distribution's [package manager](https://github.com/ziglang/zig/wiki/Install-Zig-from-a-Package-Manager). Most major linux distros package the latest Zig release. + ### Installing manually @@ -30,16 +30,17 @@ import TabItem from "@theme/TabItem"; 2. Extract the archive using tar, e.g. ```bash - tar xf zig-linux-x86_64-0.14.0.tar.xz + tar xf zig-linux-x86_64-0.14.0-dev.2183+ee9f00d67.tar.xz ``` 3. Add the location of your Zig binary to your path, e.g. ```bash - echo 'export PATH="$HOME/zig-linux-x86_64-0.14.0:$PATH"' >> ~/.bashrc + echo 'export PATH="$HOME/zig-linux-x86_64-0.14.0-dev.2183+ee9f00d67:$PATH"' >> ~/.bashrc ``` + + Latest [dev build](https://scoop.sh/#/apps?q=zig&id=921df07e75042de645204262e784a17c2421944c) is available on [scoop](https://scoop.sh/#/apps?q=zig&id=7e124d6047c32d426e4143ab395d863fc9d6d491). + + ``` + scoop bucket add versions + scoop install versions/zig-dev + ``` ### Installing manually @@ -103,11 +111,13 @@ import TabItem from "@theme/TabItem"; + @@ -118,7 +128,7 @@ Verify your installation with `zig version`. The output should look like this: ``` $ zig version -0.14.0 +0.14.0-dev.2183+ee9f00d67 ``` ### Extras From ac15a13eee0b92e89738c635db1403a71abae471 Mon Sep 17 00:00:00 2001 From: Ryoga-exe Date: Fri, 8 Nov 2024 12:13:22 +0900 Subject: [PATCH 5/5] fix: MDX comments from HTML style to JSX style {/* */} --- .../00-getting-started/02-installation.mdx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx b/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx index 80bba88..12da1d3 100644 --- a/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx +++ b/website/versioned_docs/version-0.14/00-getting-started/02-installation.mdx @@ -15,7 +15,9 @@ import TabItem from "@theme/TabItem"; {label: 'macOS', value: 'macos'}, ]}> - +{/* +Consider getting Zig from your distribution's [package manager](https://github.com/ziglang/zig/wiki/Install-Zig-from-a-Package-Manager). Most major linux distros package the latest Zig release. +*/} ### Installing manually @@ -40,7 +42,7 @@ import TabItem from "@theme/TabItem"; ``` - +*/} Latest [dev build](https://scoop.sh/#/apps?q=zig&id=921df07e75042de645204262e784a17c2421944c) is available on [scoop](https://scoop.sh/#/apps?q=zig&id=7e124d6047c32d426e4143ab395d863fc9d6d491). ``` @@ -111,13 +113,13 @@ import TabItem from "@theme/TabItem"; - +*/}