This is CLI tool for Documentation eXperimence with Sphinx.
sphinx-watch
provides these features for user local environment.
- Build document of Sphinx when source files are changed by users
- HTTP server to publish built documentation using
http.server
Uploaded PyPI
pip install sphinx-watch
Build only
sphinx-watch source build html
Run HTTP server
sphinx-watch source build html --http
Specify port by running HTTP server
sphinx-watch source build html --http --port 8080
This uses poetry
and pre-commit
git clone
cd sphinx-watch
poetry install
pre-commit install
Apache License 2.0