feat: add doc versioning with starlight-versions

- Install starlight-versions plugin for version dropdown UI
- Archive current stable docs as v1.0.5 (slug: 1.0)
- Current/latest version labeled v2.0-alpha
- Add new alpha feature docs: SSH, cohorts, RBAC, audit logging, sprouts
- Update glossary with cross-references to new pages
- Update sidebar with Security section and new pages
- Upgrade to Astro 6, Starlight 0.38, starlight-tailwind 5, ESLint 10
- Migrate content config to src/content.config.ts with loaders
- Fix all prettier formatting issues
This commit is contained in:
2026-03-16 07:07:29 +00:00
parent 8c3a74ff0d
commit 1b177f3df2
37 changed files with 1959 additions and 226 deletions

View File

@@ -10,20 +10,21 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/starlight": "^0.37.6",
"@astrojs/starlight-tailwind": "^4.0.2",
"@astrojs/starlight": "^0.38.1",
"@astrojs/starlight-tailwind": "^5.0.0",
"@fontsource/ibm-plex-mono": "^5.2.7",
"@fontsource/ibm-plex-sans": "^5.2.8",
"@fontsource/ibm-plex-serif": "^5.2.7",
"@tailwindcss/vite": "^4.2.1",
"astro": "^5.18.0",
"astro": "^6.0.4",
"sharp": "^0.34.5",
"starlight-versions": "^0.8.1",
"tailwindcss": "^4.2.1"
},
"devDependencies": {
"@typescript-eslint/parser": "^8.56.1",
"@typescript-eslint/parser": "^8.57.0",
"astro-eslint-parser": "^1.3.0",
"eslint": "^9.39.3",
"eslint": "^10.0.3",
"eslint-plugin-astro": "^1.6.0",
"prettier": "^3.8.1",
"prettier-plugin-astro": "^0.14.1",