Fix web-docs.element.dev deployment (#32922)

* Fix docs

* Switch to vitepress for doc generation

* Run doc build in CI

* Switch docs build to layered
This commit is contained in:
Michael Telatynski
2026-03-25 18:10:06 +01:00
committed by GitHub
parent ec47986ef5
commit b90a32bea4
33 changed files with 2635 additions and 2183 deletions
+7 -1
View File
@@ -19,7 +19,10 @@
"lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) -print -exec action-validator {} ';'",
"lint:knip": "knip",
"install:git-hooks": "husky",
"postinstall": "node scripts/pnpm-link.ts && pnpm run -r sane-postinstall"
"postinstall": "node scripts/pnpm-link.ts && pnpm run -r sane-postinstall",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"resolutions": {
"pretty-format@30>react-is": "19.2.4",
@@ -51,10 +54,13 @@
"knip": "5.87.0",
"lint-staged": "^16.0.0",
"lodash": "^4.17.21",
"mermaid": "^11.13.0",
"minimist": "^1.2.6",
"nx": "22.5.4",
"prettier": "3.8.1",
"typescript": "catalog:",
"vitepress": "^1.6.4",
"vitepress-plugin-mermaid": "^2.0.17",
"yaml": "^2.3.3"
},
"pnpm": {