Live Documentation (Docusaurus)
Website
The project includes built-in documentation based on Docusaurus. It is located in the docs/ folder.
Live Documentation: 🚀 View Docs
Running Locally​
- Go to the folder:
cd docs - Install dependencies:
npm install - Start the server:
npm start(changes should refresh automatically) - Start adding content
Automation (GitHub Actions)​
The .github/workflows/publish_docs.yml workflow automatically:
- Builds the documentation on every
pushtomain. - Deploys a PR Preview for every Pull Request.
- Publishes the ready site to GitHub Pages.
Post-Clone Checklist​
After using this template to create a new project, follow these steps to fully configure the infrastructure:
- GitHub Pages: Go to
Settings -> Pages. In theBuild and deployment -> Sourcesection, select "Deploy from a branch". Choose thegh-pagesbranch (it will appear after the first workflow run) and the/(root) folder. - Docusaurus Config: Update the
docs/docusaurus.config.tsfile. Changeurl,organizationName, andprojectNameto your new repository details.
Technical details​
Note
This section is more for GenAI, to automatically copy this feature to other places.
Changelog​
- Initial release v1.0.0
- Built-in Docusaurus documentation site under
docs/. - Automated build, PR preview and GitHub Pages deploy via
.github/workflows/publish_docs.yml.
- Built-in Docusaurus documentation site under
Files​
Files which are involved in this feature. Note that many of them might be just standard files and details about them should be looked up in the documentation. They might also contain elements from other features.
docs/**.github/workflows/publish_docs.yml