add script for running sphinx as I edit

This commit is contained in:
Doug Hellmann 2012-07-22 14:41:18 -04:00
parent ed654179da
commit 685fd4c827

10
run_sphinx Executable file

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