Automating Sphinx generated documentation

Laura Creighton lac at openend.se
Thu Sep 17 14:36:01 CEST 2015


If you have watchdog installed:
https://pypi.python.org/pypi/watchdog
Jacob Kaplan Moss came up with this very nice one liner to do this.
$ watchmedo shell-command \
              --patterns="*.txt" \
              --ignore-pattern='_build/*' \
              --recursive \
              --command='make html'
							
change to .rst if that is what your Sphinx docs make, etc.


More information about the Python-list mailing list