This directory contains the documentation for the Ark project. The documentation is built using MkDocs and can be viewed locally during development.
From the project root, create a Python virtual environment:
python -m venv .venvIf your system uses python3, run:
python3 -m venv .venvsource .venv/bin/activate.venv\Scripts\Activate.ps1.venv\Scripts\activate.batInstall MkDocs inside the activated virtual environment:
pip install mkdocscd docsTo generate the static documentation site, run:
mkdocs buildThe generated site will be created in the site/ directory.
To start a local development server, run:
mkdocs serveThen open the following URL in your browser:
http://127.0.0.1:8000
MkDocs automatically reloads the site when documentation files are updated.
When finished, deactivate the environment:
deactivate- Run
mkdocs buildandmkdocs servefrom the same directory asmkdocs.yml. - If
mkdocs.ymlis moved to another location, update thecdcommand accordingly. - The
site/directory is generated output and usually should not be edited manually.