Development mode allows to edit the source code and apply the changes in watch mode.
With doctools cloned alongside this repository, do a symbolic install
cd ../doctools
pip install -e . --upgrade
If you care about the web scripts (js modules) and style sheets (sass),
install npm first, if not, just skip this section.
NOTE: If the
npmprovided by your package manager is too old and updating withnpm install npm -gfails, consider installing with NodeSource.
At the doctools repository root, install the npm dependencies locally:
npm install rollup sass \
@rollup/plugin-terser \
@rollup/plugin-alias \
--save-dev
In two terminals, launch adoc serve to watch the doc:
cd docs
adoc serve
Then, in the second, the source code watcher:
python3 dev_server.py
This way, changes to ./scripts and ./style are re-evaluated.