mirror of
https://github.com/iflytek/skillhub.git
synced 2026-08-28 11:25:00 +00:00
| .. | ||
| docs | ||
| i18n | ||
| src | ||
| static | ||
| .gitignore | ||
| docusaurus.config.js | ||
| package.json | ||
| README.md | ||
| sidebars.js | ||
| tsconfig.json | ||
SkillHub Docs Site
document/ contains the Docusaurus source for the public documentation site served at https://www.astron-skillhub.org/.
Local Development
Install dependencies:
cd document
npm install
Start the docs dev server:
npm run start
Build the production site:
npm run build
Publishing
The repository includes a GitHub Actions workflow at .github/workflows/publish-docs-site.yml.
- Pushes to
mainthat modifydocument/**or the workflow file trigger an automatic docs build and GitHub Pages deployment - The custom domain is configured through
document/static/CNAME - Legacy website URLs such as
quickstart.htmlandguide/skill-publish.htmlare redirected to the current Docusaurus routes viaplugin-client-redirects
Sync Rule
To keep https://www.astron-skillhub.org/ aligned with the latest repository content:
- Treat
document/as the source of truth for the public docs site - Update
document/docs/**whenever product messaging or public-facing workflow documentation changes materially - Keep redirects updated when replacing or renaming public routes