Website Deployment¶
This project publishes docs to GitHub Pages from the main branch via the Docs workflow.
Live URL¶
Default GitHub Pages URL for this repository:
https://dani2442.github.io/neuroscience_control/
How deployment works¶
- Push changes to
mainthat touchdocs/**,mkdocs.yml,README.md, orpyproject.toml. - GitHub Action
.github/workflows/docs.ymlruns: uv sync --group docsuv run mkdocs build --strict- deploys
site/togh-pages - GitHub Pages serves the
gh-pagesbranch.
One-time GitHub setup¶
- Open repository settings.
- Go to Pages.
- Set Source to Deploy from a branch.
- Select branch
gh-pagesand folder/ (root). - Save.
Local preview¶
uv sync --group docs
uv run mkdocs serve
Then open:
http://127.0.0.1:8000/
Troubleshooting¶
- If Pages is blank, verify
gh-pagesexists and hasindex.html. - If docs action fails, run
uv run mkdocs build --strictlocally and fix warnings/errors. - If workflow updates fail to push, ensure your GitHub token has
workflowscope.