The main
branch uses deploy-mkdocs GitHub Action.
Do not commit changes directly to the main
branch unless necessary. Please commit your updates to the mkdocs
branch, test on CodeSpaces or locally, and then commit those merges back to main
.
Commits to main
will trigget the Action which re-builds and deploys the website to https://learning.cyverse.org -- which is publicly available.
We are using the @nomaterial
branch for the Action to produce the ReadTheDocs style layout with the theme: readthedocs
in the mkdocs.yml:
theme:
name: readthedocs
To change to MkDocs Material theme, change Action to @master
and set theme: material
in the mkdocs.yml:
theme:
name: material
pip install -r requirements.txt
mkdocs serve