File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed
Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,6 @@ it, use
8282
8383 make SPHINXOPTS= html
8484
85- On Windows the arguments must be at the end of the statement:
86-
87- .. code-block :: bat
88-
89- make html SPHINXOPTS=
90-
9185 You can use the ``O `` variable to set additional options:
9286
9387* ``make O=-j4 html `` runs a parallel build with 4 processes.
@@ -97,12 +91,11 @@ You can use the ``O`` variable to set additional options:
9791Multiple options can be combined using e.g. ``make O='-j4 -Dplot_gallery=0'
9892html ``.
9993
100- On Windows, either put the arguments at the end of the statement or set the options as environment variables, e.g.:
94+ On Windows, set the options as environment variables, e.g.:
10195
10296.. code-block :: bat
10397
104- set O = -W --keep-going -j4
105- make html
98+ set SPHINXOPTS = & set O = -j4 -Dplot_gallery=0 & make html
10699
107100 Showing locally built docs
108101--------------------------
Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ if "%SPHINXBUILD%" == "" (
1010set SOURCEDIR = .
1111set BUILDDIR = build
1212set SPHINXPROJ = matplotlib
13- set SPHINXOPTS = -W
14- set O =
13+ if defined SPHINXOPTS goto skipopts
14+ set SPHINXOPTS = -W --keep-going
15+ :skipopts
1516
1617%SPHINXBUILD% > NUL 2 > NUL
1718if errorlevel 9009 (
You can’t perform that action at this time.
0 commit comments