- .readthedocs.yml: hook to readthedocs.io
- requirements.txt: list of python packages to be used by mkdocs
- mkdocs.yml: contains the structure of the left navegation panel at readthedocs.io
- docs/: the actual doc directory
It seems standalone mkdocs can support >2 nested levels in navegation panel. But at the readthedocs.io, only up to 2 levels are supported.
After editing the docs, use the following steps to start a web server at http://127.0.0.1:8000. Then point your web browser to this local web server to check the changes you just made.
- cd to the root directory of the github repo
- First time only,
python3 -m pip install -r requirements.txt. This will installmkdocs. mkdocs serve
After new changes are commit to git, readthedocs.io will automatically detect the changes and rebuild the docs at https://xrootd-howto.readthedocs.io