File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 - name : Build Docs
9090 run : |
9191 cd docs
92- pipenv run make html
92+ pipenv run make html SPHINXOPTS="-W --keep-going"
Original file line number Diff line number Diff line change 1414
1515.PHONY : help Makefile
1616
17+ cleanall : clean
18+ @rm source/reference/*
19+
1720# Catch-all target: route all unknown targets to Sphinx using the new
1821# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1922% : Makefile
Original file line number Diff line number Diff line change @@ -25,11 +25,21 @@ if errorlevel 9009 (
2525
2626if " %1 " == " " goto help
2727
28+ if " %1 " == " cleanall" goto cleanall
29+
2830%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
2931goto end
3032
3133:help
3234%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
3335
36+ :cleanall
37+ REM This is untested, please fix if broken
38+ %SPHINXBUILD% -M clean %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
39+ cd %SOURCEDIR%
40+ cd reference
41+ del .*.
42+ goto end
43+
3444:end
3545popd
Original file line number Diff line number Diff line change @@ -62,4 +62,9 @@ For example,
6262 Tips and Tricks
6363~~~~~~~~~~~~~~~
6464Sometimes Sphinx will do some weird stuff and things will stop working nicely.
65- In this case, a simple ``make clean `` (or ``make.bat clean `` for Windows) should do the trick.
65+ In this case, a simple ``make cleanall `` (or ``make.bat cleanall `` for Windows) should do the trick.
66+
67+ .. warning ::
68+
69+ ``make.bat cleanall `` is _untested_ on Windows, be careful when using it. You can alternatively
70+ use ``make.bat clean `` and remove the contents of ``docs/source/reference ``.
Original file line number Diff line number Diff line change @@ -24,4 +24,4 @@ Explore some of the technical documentation we have at our disposal!
2424 contributing
2525 reference_index
2626 developers
27- deploying
27+ production
You can’t perform that action at this time.
0 commit comments