1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#!/bin/sh
set -o errexit
set -o pipefail
set -o nounset
# Basically we watch only README.rst, LICENCE.rst and everything under django_structlog
sphinx-autobuild docs /docs/_build/html \
-b ${SPHINX_COMMAND} \
--port 8080 \
--host 0.0.0.0 \
--watch . \
--ignore "*___jb_*" \
--ignore ".*/*" \
--ignore ".*" \
--ignore "build/*" \
--ignore "compose/*" \
--ignore "config/*" \
--ignore "dist/*" \
--ignore "django_structlog.egg-info/*" \
--ignore "django_structlog_demo_project/*" \
--ignore "logs/*" \
--ignore "requirements/*" \
--ignore "requirements.txt" \
--ignore "docker*.yml" \
--ignore "manage.py" \
--ignore "MANIFEST.in" \
--ignore "*.toml" \
--ignore "*.log" \
--ignore "*.ini"
|