The official API documentation for serve.sh
Coming soon!
In order to contribute to the documentation, it will be helpful to serve your changes locally so you can preview your edits in real-time.
- Python 3
- pip
- mkdocs
First, install the dependencies:
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Then, run the following command to start the local server:
mkdocs serve
You should see output like the following:
INFO - Documentation built in 0.30 seconds
INFO - [14:10:45] Watching paths for changes: 'docs', 'mkdocs.yml'
INFO - [14:10:45] Serving on http://127.0.0.1:8000/
This will start a local server at http://localhost:8000
where you can preview your changes.