Skip to content

Commit 5daa35a

Browse files
authored
fix(docs): fix nightly docs builds (#17073)
There was an issue with the build before cutting the new nightly release, this PR fixes it.
2 parents 6d20760 + 708b0bc commit 5daa35a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

barretenberg/docs/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const config: Config = {
8989
lastVersion: versions[1],
9090
versions: {
9191
[versions[0]]: {
92-
path: "nightly",
92+
...(versions[0].includes("nightly") && { path: "nightly" }),
9393
},
9494
...(process.env.ENV === "dev" && {
9595
current: {

docs/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const config = {
7070
lastVersion: versions[1],
7171
versions: {
7272
[versions[0]]: {
73-
path: "nightly",
73+
...(versions[0].includes("nightly") && { path: "nightly" }),
7474
},
7575
...(process.env.ENV === "dev" && {
7676
current: {

0 commit comments

Comments
 (0)