Commits

Sebastian Rahlf committed 306a98a

Added smallhelper script to automatically rebuild sphinx doc on source file change.

  • Participants
  • Parent commits fd366f0

Comments (0)

Files changed (1)

docs/watch-for-changes.sh

+# Watches source directory for file changes and rebuilds entire docu
+# Sebastian Rahlf -- 2012-01-30 00:31:16
+
+SOURCE=`pwd`/source
+IGNORE="--exclude \..*\.sw\w?" # ignore vim swap files
+OPTIONS="-r -e modify -e create -e delete"
+
+while inotifywait $OPTIONS $IGNORE $SOURCE
+do 
+    make clean && make html
+done