Documentation Deployment Flow
To ensure the THAP Engine documentation is always accessible to the global community, we use GitHub Actions to automate the deployment process.
🔄 Automated Workflow (CI/CD)
The deployment follow this flow:
- Push to Master: Every time code or documentation is pushed to the
masterormainbranch. - GitHub Action Trigger: The
.github/workflows/gh-pages.ymlworkflow starts. - Environment Setup: A virtual machine starts, installs Python and the
mkdocs-materialtheme. - Build & Deploy: MkDocs builds the static site and pushes it to the
gh-pagesbranch. - Live Site: The documentation is updated automatically at
https://<your-username>.github.io/micro-ai-robot-thap-firmware/.
🛠️ Manual Activation
If this is a new repository, you must enable GitHub Pages:
- Go to your GitHub repository Settings.
- Select Pages from the sidebar.
- Under Build and deployment > Source, select Deploy from a branch.
- Under Branch, select
gh-pagesand folder/ (root). - Click Save.
[!NOTE] The documentation is bilingual. Visitors can choose their language directly from the navigation menu or the landing page.