Skip to content

Commit 6123032

Browse files
authored
Merge branch 'next' into jc/docs-fix-ts-api-ref-links
2 parents ac4ff2c + 5d69881 commit 6123032

5,308 files changed

Lines changed: 637 additions & 1546401 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/nightly-docs-release.yml

Lines changed: 0 additions & 292 deletions
This file was deleted.

barretenberg/docs/docusaurus.config.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ const path = require("path");
1111
const fs = require("fs");
1212
const macros = require("./src/katex-macros.js");
1313
const versions = require("./versions.json");
14-
const nightlyVersion = versions.find((v) => v.includes("nightly"));
15-
const stableVersion = versions.find((v) => !v.includes("nightly"));
14+
const stableVersion = versions[0];
1615

1716
// To redirect /api to the static/api directory in dev mode (netlify handles it in prod)
1817
function apiPlugin(context: any, options: any) {
@@ -88,18 +87,9 @@ const config: Config = {
8887
},
8988
],
9089
],
91-
// Don't show latest since nightlies are published
9290
includeCurrentVersion: process.env.ENV === "dev",
93-
// There should be 2 versions, nightly and stable
94-
// Fall back to versions[0] if only one version exists (e.g., during release builds)
95-
lastVersion: stableVersion ?? versions[0],
91+
lastVersion: stableVersion,
9692
versions: {
97-
...(nightlyVersion && stableVersion && {
98-
[nightlyVersion]: {
99-
path: "nightly",
100-
banner: "unreleased",
101-
},
102-
}),
10393
...(process.env.ENV === "dev" && {
10494
current: {
10595
label: "dev",

0 commit comments

Comments
 (0)