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
82
82
83
83
make SPHINXOPTS= html
84
84
85
- On Windows the arguments must be at the end of the statement:
86
-
87
- .. code-block :: bat
88
-
89
- make html SPHINXOPTS=
90
-
91
85
You can use the ``O `` variable to set additional options:
92
86
93
87
* ``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:
97
91
Multiple options can be combined using e.g. ``make O='-j4 -Dplot_gallery=0'
98
92
html ``.
99
93
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.:
101
95
102
96
.. code-block :: bat
103
97
104
- set O = -W --keep-going -j4
105
- make html
98
+ set SPHINXOPTS = & set O = -j4 -Dplot_gallery=0 & make html
106
99
107
100
Showing locally built docs
108
101
--------------------------
Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ if "%SPHINXBUILD%" == "" (
10
10
set SOURCEDIR = .
11
11
set BUILDDIR = build
12
12
set SPHINXPROJ = matplotlib
13
- set SPHINXOPTS = -W
14
- set O =
13
+ if defined SPHINXOPTS goto skipopts
14
+ set SPHINXOPTS = -W --keep-going
15
+ :skipopts
15
16
16
17
%SPHINXBUILD% > NUL 2 > NUL
17
18
if errorlevel 9009 (
You can’t perform that action at this time.
0 commit comments