Skip to content

Commit 63c5b94

Browse files
committed
fix(docs): update nightly release URLS to use nightly/* rather than the specific version number
1 parent b4460df commit 63c5b94

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

barretenberg/docs/docusaurus.config.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,17 @@ const config: Config = {
8787
// There should be 2 versions, nightly and stable
8888
// The stable version is second in the list
8989
lastVersion: versions[1],
90-
...(process.env.ENV === "dev" && {
91-
versions: {
90+
versions: {
91+
[versions[0]]: {
92+
path: "nightly",
93+
},
94+
...(process.env.ENV === "dev" && {
9295
current: {
9396
label: "dev",
9497
path: "dev",
9598
},
96-
},
97-
}),
99+
}),
100+
},
98101
editUrl: (params) => {
99102
return (
100103
`https://github.com/AztecProtocol/aztec-packages/edit/master/docs/docs/` +

docs/docusaurus.config.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,17 @@ const config = {
6868
// There should be 2 versions, nightly and stable
6969
// The stable version is second in the list
7070
lastVersion: versions[1],
71-
...(process.env.ENV === "dev" && {
72-
versions: {
71+
versions: {
72+
[versions[0]]: {
73+
path: "nightly",
74+
},
75+
...(process.env.ENV === "dev" && {
7376
current: {
7477
label: "dev",
7578
path: "dev",
7679
},
77-
},
78-
}),
80+
}),
81+
},
7982
remarkPlugins: [math],
8083
rehypePlugins: [
8184
[

0 commit comments

Comments
 (0)