The documentation source for Kodular lives is here.
The documentation rendered using MkDocs. This uses the Material theme for MkDocs.
Make sure you have Python and virtualenv
installed on your system.
Create a virtualenv
virtualenv kodular-docs-venv
Activate your virtualenv
:
source kodular-docs-venv/bin/activate
source kodular-docs-venv/Scripts/activate
Install the dependencies using pip
:
pip install -r requirements.txt
You can preview the docs locally using the command:
mkdocs serve
If you run into this error,
MkDocs encountered as error parsing the configuration file: while constructing a Python object
cannot find module 'macros.blocks_macros' (No module named 'macros.blocks_macros')
in "/media/ghostfox/NewVolume1/documentation/mkdocs.yml", line 83, column 11
then make sure that the root directory of the repo is present in the PYTHONPATH
$ export PYTHONPATH=$PYTHONPATH:$PWD
(replace $PWD with the root directory of the repo)