fix postgrest-serve after move to docs/ folder
Signed-off-by: Wolfgang Walther <walther@technowledgy.de>
This commit is contained in:
committed by
Wolfgang Walther
parent
43a92d4e6b
commit
71dd891d2f
+1
-4
@@ -4,10 +4,7 @@ from subprocess import call
|
||||
## Build docs at startup
|
||||
call(['sphinx-build', '-b', 'html', '-a', '-n', 'docs', '_build'])
|
||||
server = Server()
|
||||
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'))
|
||||
server.watch('docs/**/*.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