Jeffrey Dallatezza bddfc19725
Add doc versioning (#4381)
# Description of Changes

This change cuts a version of the docs from 1.12.0
(e45cf891c20d87b11976e1d54c04c0e4639dbe81), and saves it under
`docs/versioned_docs/version-1.12.0`.

If you go to the docs page, it will redirect to the 1.12.0 docs, which
has a banner at the top for trying the prerelease docs:
<img width="1027" height="283" alt="Screenshot 2026-02-20 at 12 07
39 PM"
src="https://github.com/user-attachments/assets/8ff3d622-b693-469a-980a-01c34d0506b8"
/>

If you select the prelease docs, there is a warning banner at the top:
<img width="886" height="299" alt="Screenshot 2026-02-20 at 12 08 52 PM"
src="https://github.com/user-attachments/assets/5508a635-765e-40cc-ad2a-cbbed7f779dd"
/>


# Expected complexity level and risk

This only changes docs.

# Testing

I've testing by running this locally.
2026-02-20 22:41:39 +00:00

71 lines
2.0 KiB
JSON

{
"name": "docs",
"version": "0.0.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"dev": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
"serve": "docusaurus serve",
"generate-cli-docs": "node scripts/generate-cli-docs.mjs",
"rewrite-links": "node scripts/rewrite-doc-links.mjs",
"rewrite-links:write": "node scripts/rewrite-doc-links.mjs --write",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"typecheck": "tsc"
},
"dependencies": {
"@docusaurus/core": "3.9.2",
"@docusaurus/plugin-client-redirects": "^3.9.2",
"@docusaurus/plugin-content-docs": "3.9.2",
"@docusaurus/preset-classic": "3.9.2",
"@docusaurus/theme-common": "3.9.2",
"@easyops-cn/docusaurus-search-local": "^0.49.2",
"@fontsource-variable/inter": "^5.2.8",
"@fontsource-variable/source-code-pro": "^5.2.7",
"@inkeep/cxkit-docusaurus": "^0.5.98",
"@inkeep/cxkit-react": "^0.5.101",
"@inkeep/widgets": "^0.2.292",
"@mdx-js/react": "^3.0.0",
"@shikijs/rehype": "^3.3.0",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"shiki": "^3.3.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.9.2",
"@docusaurus/tsconfig": "3.9.2",
"@docusaurus/types": "3.9.2",
"@types/react": "^18.3.23",
"@types/react-dom": "^18.3.0",
"typescript": "~5.6.2"
},
"pnpm": {
"overrides": {
"@docusaurus/*": "3.9.2",
"react": "18.3.1",
"react-dom": "18.3.1"
}
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 3 chrome version",
"last 3 firefox version",
"last 5 safari version"
]
},
"engines": {
"node": ">=18.0"
}
}