summaryrefslogtreecommitdiff
path: root/run_sphinx
blob: b501058f8491bc432fbf8755e93a3b1cd4aefc0d (plain)
1
2
3
4
5
6
7
8
9
10
#!/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'