Skip to content

CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.

fix(website): use noIndex on old doc versions to fix zh-Hans sitemap

xf gongc5cb3c9050cc
diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts
index 0cbef43..18e6eb6 100644
--- a/website/docusaurus.config.ts
+++ b/website/docusaurus.config.ts
@@ -30,11 +30,11 @@ const classicOptions: ClassicOptions = {
editUrl: 'https://github.com/cubeplexai/cubepi/edit/main/website/',
lastVersion: '0.6',
versions: {
- current: { label: 'Next 🚧', path: 'next', banner: 'unreleased' },
+ current: { label: 'Next 🚧', path: 'next', banner: 'unreleased', noIndex: true },
'0.6': { label: '0.6 (latest)', path: '' },
- '0.5': { label: '0.5', path: '0.5' },
- '0.4': { label: '0.4', path: '0.4' },
- '0.3': { label: '0.3', path: '0.3' },
+ '0.5': { label: '0.5', path: '0.5', noIndex: true },
+ '0.4': { label: '0.4', path: '0.4', noIndex: true },
+ '0.3': { label: '0.3', path: '0.3', noIndex: true },
},
},
blog: false,
@@ -47,10 +47,6 @@ const classicOptions: ClassicOptions = {
'/docs/0.3/**',
'/docs/0.4/**',
'/docs/0.5/**',
- '/zh-Hans/docs/next/**',
- '/zh-Hans/docs/0.3/**',
- '/zh-Hans/docs/0.4/**',
- '/zh-Hans/docs/0.5/**',
],
},
};
diff --git a/website/pnpm-workspace.yaml b/website/pnpm-workspace.yaml
new file mode 100644
index 0000000..d6c0cb1
--- /dev/null
+++ b/website/pnpm-workspace.yaml
@@ -0,0 +1,5 @@
+allowBuilds:
+ '@swc/core': true
+ core-js: true
+ esbuild: true
+ protobufjs: true
diff --git a/website/static/_redirects b/website/static/_redirects
deleted file mode 100644
index fdb5989..0000000
--- a/website/static/_redirects
+++ /dev/null
@@ -1 +0,0 @@
-https://cubepi.pages.dev/* https://cubepi.ai/:splat 301