See this tutorial
Deploy on Read the Docs: https://biblia.readthedocs.io
The documentation is deployed automatically on every commit.
Deploy on Github Pages: https://javiabellan.github.io/biblia
Add this extra line in mkdocs.yml
file
remote_branch: gh-deploy
mkdocs new [dir-name]
- Create a new project.mkdocs serve
- Start the live-reloading docs server.mkdocs build
- Build the documentation site.
mkdocs gh-deploy --clean
- Desplegar/Actualizar la documentación MkDocs en la ramagh-deploy
.
See the Githug action file .github/workflows/deploy-gh-pages.yml