Created
September 6, 2012 20:10
-
-
Save kezabelle/3660029 to your computer and use it in GitHub Desktop.
Continuous preview of Sphinx docs. A reminder to me, when my .bash_history forgets.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" To get vim to work with Watchdog http://pypi.python.org/pypi/watchdog | |
" we have to set these; see https://github.com/gorakhargosh/watchdog/issues/56 | |
set noswapfile | |
set nobackup | |
set nowritebackup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Making rocket go now. | |
sphinx-quickstart | |
make html | |
open _build/index.html | |
# Make many changes. | |
watchmedo shell-command --patterns="*.py;*.rst" --recursive --command='make html' . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment