stevedore/run_sphinx
Doug Hellmann 48c8393c5e Add example of loading as a driver
Create an example program to load the formatters
from the tutorial as a driver and print some data.

Update run_sphinx to watch .txt files.

Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2013-06-05 18:02:12 -04:00

11 lines
253 B
Bash
Executable File

#!/bin/sh
# Based on http://jacobian.org/writing/auto-building-sphinx/
set -x
watchmedo shell-command \
--patterns='*.rst;*.py;*.txt' \
--ignore-pattern='docs/build/*;*flymake*' \
--recursive \
--command='python setup.py build_sphinx'