File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 135135# Add any paths that contain custom static files (such as style sheets) here,
136136# relative to this directory. They are copied after the builtin static files,
137137# so a file named "default.css" will overwrite the builtin "default.css".
138- html_static_path = ['_static ' ]
138+ html_static_path = ['../web/static ' ]
139139
140140# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
141141# using the given strftime format.
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ REM Command file for Sphinx documentation
55if " %SPHINXBUILD% " == " " (
66 set SPHINXBUILD = sphinx-build
77)
8- set BUILDDIR = _build
9- set ALLSPHINXOPTS = -d %BUILDDIR% /doctrees %SPHINXOPTS% .
10- set I18NSPHINXOPTS = %SPHINXOPTS% .
8+ set BUILDDIR = _build
9+ set ALLSPHINXOPTS = -d %BUILDDIR% /doctrees %SPHINXOPTS% .
10+ set I18NSPHINXOPTS = %SPHINXOPTS% .
1111if NOT " %PAPER% " == " " (
1212 set ALLSPHINXOPTS = -D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
1313 set I18NSPHINXOPTS = -D latex_paper_size=%PAPER% %I18NSPHINXOPTS%
@@ -115,9 +115,9 @@ if "%1" == "qthelp" (
115115 echo .
116116 echo .Build finished; now you can run " qcollectiongenerator" with the ^
117117.qhcp project file in %BUILDDIR% /qthelp, like this:
118- echo .^ > qcollectiongenerator %BUILDDIR% \qthelp\deis.qhcp
118+ echo .^ > qcollectiongenerator %BUILDDIR% \qthelp\deis.qhcp
119119 echo .To view the help file:
120- echo .^ > assistant -collectionFile %BUILDDIR% \qthelp\deis.ghc
120+ echo .^ > assistant -collectionFile %BUILDDIR% \qthelp\deis.ghc
121121 goto end
122122)
123123
@@ -239,4 +239,14 @@ if "%1" == "pseudoxml" (
239239 goto end
240240)
241241
242+ if " %1 " == " server" (
243+ %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR% /dirhtml
244+ if errorlevel 1 exit /b 1
245+ cd %BUILDDIR% /dirhtml
246+ echo .
247+ echo .Build finished. Open http://127.0.0.1:8000/ in your browser.
248+ python -m SimpleHTTPServer 8000
249+ goto end
250+ )
251+
242252:end
You can’t perform that action at this time.
0 commit comments