Fix #178, Add livereload script
This commit is contained in:
@@ -19,4 +19,3 @@ To generate HTML version:
|
||||
**Sphinx Installation Notes:**
|
||||
|
||||
* If you're on OSX you might want to install the Python from homebrew - then a simple `pip install sphinx` does the trick.
|
||||
* For an easier time refreshing your local preview of docs as you change it, try [sphinx-autobuild](https://github.com/GaretJax/sphinx-autobuild).
|
||||
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
from livereload import Server, shell
|
||||
server = Server()
|
||||
server.watch('*.rst', shell('sphinx-build -b html -a -n . _build'))
|
||||
server.watch('tutorials/*.rst', shell('sphinx-build -b html -a -n . _build'))
|
||||
server.serve(root='_build/')
|
||||
Reference in New Issue
Block a user