Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96764

Re: Automating Sphinx generated documentation

From Laura Creighton <lac@openend.se>
Subject Re: Automating Sphinx generated documentation
References <41302A7145AC054FA7A96CFD03835A0A0B9D749B@EX10MBX02.EU.NEC.COM>
Date 2015-09-17 14:36 +0200
Newsgroups comp.lang.python
Message-ID <mailman.697.1442493376.8327.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Automating Sphinx generated documentation Laura Creighton <lac@openend.se> - 2015-09-17 14:36 +0200

csiph-web