chore: Move *.rst files to docs/ folder
Signed-off-by: Wolfgang Walther <walther@technowledgy.de>
This commit is contained in:
committed by
Wolfgang Walther
parent
0ae86b7e74
commit
a85dfe9558
+5
-5
@@ -2,12 +2,12 @@
|
||||
from livereload import Server, shell
|
||||
from subprocess import call
|
||||
## Build docs at startup
|
||||
call(['sphinx-build', '-b', 'html', '-a', '-n', '.', '_build'])
|
||||
call(['sphinx-build', '-b', 'html', '-a', '-n', 'docs', '_build'])
|
||||
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.watch('how-tos/*.rst', shell('sphinx-build -b html -a -n . _build'))
|
||||
server.watch('releases/*.rst', shell('sphinx-build -b html -a -n . _build'))
|
||||
server.watch('*.rst', shell('sphinx-build -b html -a -n docs _build'))
|
||||
server.watch('tutorials/*.rst', shell('sphinx-build -b html -a -n docs _build'))
|
||||
server.watch('how-tos/*.rst', shell('sphinx-build -b html -a -n docs _build'))
|
||||
server.watch('releases/*.rst', shell('sphinx-build -b html -a -n docs _build'))
|
||||
# For custom port and host
|
||||
# server.serve(root='_build/', host='192.168.1.2')
|
||||
server.serve(root='_build/')
|
||||
|
||||
Reference in New Issue
Block a user