Skip to content

Commit

Permalink
fix zig-version links
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <[email protected]>
  • Loading branch information
emidoots committed Sep 30, 2024
1 parent 52807d9 commit 56b5561
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ node_modules
dist
tmp
/resources/_gen/
public

hugo.exe
hugo.linux
Expand Down
16 changes: 8 additions & 8 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ baseURL = 'https://machengine.org/'
branch = 'main'

# Other branch-agnostic site params below
alert = '**Mach v0.3 has been released!** For all the details check out [the announcement](https://devlog.hexops.com/2024/mach-v0.3-released/)'
#alert = '**Mach now _nominates Zig versions for use!_** For details check out [the docs](/about/nominated-zig)'
#alert = '**Mach v0.3 has been released!** For all the details check out [the announcement](https://devlog.hexops.com/2024/mach-v0.3-released/)'
#alert = '**Mach now _nominates Zig versions for use!_** For details check out [the docs](/docs/nominated-zig)'
debug_opengraph_images = false

[markup.goldmark.renderer]
Expand Down Expand Up @@ -108,6 +108,12 @@ unsafe = true
name = 'Zig version'
url = '/docs/zig-version'
weight = 40004
[[menu.docs]]
identifier = 'docs-dev-nominated-zig'
parent = 'docs-general'
name = 'Nominated Zig'
url = '/docs/nominated-zig'
weight = 40005


[[menu.about]]
Expand Down Expand Up @@ -141,9 +147,3 @@ unsafe = true
name = 'Style guide'
url = '/about/style'
weight = 10100
[[menu.about]]
identifier = 'about-dev-nominated-zig'
parent = 'about-dev'
name = 'Nominated Zig'
url = '/about/nominated-zig'
weight = 10200
6 changes: 3 additions & 3 deletions content/docs/zig-version.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ _We encourage using Mach nightly (`main`, rather than a tagged release) for now.

| Mach version | Zig version |
|--------------|--------------------------------------------------------|
| latest main | [Zig 2024.5.0-mach](/about/nominated-zig/#202450-mach) |
| v0.4 | [Zig 2024.5.0-mach](/about/nominated-zig/#202450-mach) |
| v0.3 | [Zig 2024.1.0-mach](/about/nominated-zig/#202410-mach) |
| latest main | [Zig 2024.5.0-mach](/docs/nominated-zig/#202450-mach) |
| v0.4 | [Zig 2024.5.0-mach](/docs/nominated-zig/#202450-mach) |
| v0.3 | [Zig 2024.1.0-mach](/docs/nominated-zig/#202410-mach) |
| v0.2 | v0.11.0 |
12 changes: 6 additions & 6 deletions static/zig/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"date": "2024-06-01",
"docs": "https://ziglang.org/documentation/master/",
"stdDocs": "https://ziglang.org/documentation/master/std/",
"machDocs": "https://machengine.org/about/nominated-zig",
"machDocs": "https://machengine.org/docs/nominated-zig",
"machNominated": "2024-06-01",
"src": {
"shasum": "6db25e78eca948664d4b1b1eb6b5ca6c471e0bf32b8fd19cc7c925b4d957f097",
Expand Down Expand Up @@ -90,7 +90,7 @@
"date": "2024-06-01",
"docs": "https://ziglang.org/documentation/master/",
"stdDocs": "https://ziglang.org/documentation/master/std/",
"machDocs": "https://machengine.org/about/nominated-zig",
"machDocs": "https://machengine.org/docs/nominated-zig",
"machNominated": "2024-06-01",
"src": {
"shasum": "6db25e78eca948664d4b1b1eb6b5ca6c471e0bf32b8fd19cc7c925b4d957f097",
Expand Down Expand Up @@ -176,7 +176,7 @@
"date": "2024-06-01",
"docs": "https://ziglang.org/documentation/master/",
"stdDocs": "https://ziglang.org/documentation/master/std/",
"machDocs": "https://machengine.org/about/nominated-zig",
"machDocs": "https://machengine.org/docs/nominated-zig",
"machNominated": "2024-06-01",
"src": {
"shasum": "6db25e78eca948664d4b1b1eb6b5ca6c471e0bf32b8fd19cc7c925b4d957f097",
Expand Down Expand Up @@ -262,7 +262,7 @@
"date": "2024-03-08",
"docs": "https://ziglang.org/documentation/master/",
"stdDocs": "https://ziglang.org/documentation/master/std/",
"machDocs": "https://machengine.org/about/nominated-zig",
"machDocs": "https://machengine.org/docs/nominated-zig",
"machNominated": "2024-03-08",
"src": {
"shasum": "f484f26899b872782f37603b633236abaca4005e26d544fcbdfa1eb0f2503217",
Expand Down Expand Up @@ -348,7 +348,7 @@
"date": "2024-01-07",
"docs": "https://ziglang.org/documentation/master/",
"stdDocs": "https://ziglang.org/documentation/master/std/",
"machDocs": "https://machengine.org/about/nominated-zig",
"machDocs": "https://machengine.org/docs/nominated-zig",
"machNominated": "2024-01-07",
"src": {
"shasum": "9838d42d47b7b8a0a38e87049830e528f5a6eaf5f2ccda40177dd8e2c293af78",
Expand Down Expand Up @@ -440,7 +440,7 @@
"date": "2024-01-07",
"docs": "https://ziglang.org/documentation/master/",
"stdDocs": "https://ziglang.org/documentation/master/std/",
"machDocs": "https://machengine.org/about/nominated-zig",
"machDocs": "https://machengine.org/docs/nominated-zig",
"machNominated": "2024-01-07",
"src": {
"shasum": "9838d42d47b7b8a0a38e87049830e528f5a6eaf5f2ccda40177dd8e2c293af78",
Expand Down

0 comments on commit 56b5561

Please sign in to comment.