diff --git a/tools/docker/doc-watch.sh b/tools/docker/doc-watch.sh index e03b8b50f1..371a85cab9 100755 --- a/tools/docker/doc-watch.sh +++ b/tools/docker/doc-watch.sh @@ -5,9 +5,9 @@ cd /source # Build once first sudo -u nav python3 -m build # ensure build data and .eggs aren't stored as root pip install -e . -sudo -u nav sphinx-build doc/ doc/_build +sudo -u nav sphinx-build doc/ build/sphinx/html/ # Then re-build on any changes to the doc directory while inotifywait -e modify -e move -e create -e delete -r --exclude \# /source/doc /source/NOTES.rst do - sudo -u nav sphinx-build doc/ doc/_build + sudo -u nav sphinx-build doc/ build/sphinx/html/ done