File tree Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -269,16 +269,28 @@ Building documentation locally is time consuming in these cases,
269
269
particularly if you need to test changes only in the documentation excluding the examples.
270
270
271
271
To generate documentation without examples, use command ``make html-noplot `` with
272
- appropriate changes in ``make.bat `` and ``Makefile ``. Change needed for `` Makefile ``
273
- is mentioned below. Refer `sphinx-gallery documentation
272
+ appropriate changes in ``make.bat `` and ``Makefile``as
273
+ mentioned below. Refer `sphinx-gallery documentation
274
274
<https://sphinx-gallery.github.io/stable/configuration.html#building-without-executing-examples>`_.
275
275
276
- .. code :: shell
276
+ .. tab-set::
277
+
278
+ .. tab-item:: Makefile
279
+
280
+ .. code:: shell
281
+
282
+ html-noplot:
283
+ $(SPHINXBUILD) -D plot_gallery=0 -b html $(SPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/html
284
+ @echo
285
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
286
+
287
+
288
+ .. tab-item:: make.bat
289
+
290
+ .. code:: shell
277
291
278
- html-noplot:
279
- $( SPHINXBUILD) -D plot_gallery=0 -b html $( ALLSPHINXOPTS) $( SOURCEDIR) $( BUILDDIR) /html
280
- @echo
281
- @echo " Build finished. The HTML pages are in $( BUILDDIR) /html."
292
+ :html-noplot
293
+ %SPHINXBUILD% -D plot_gallery=0 -b html %SOURCEDIR% %BUILDDIR%/html %SPHINXOPTS% %O%
282
294
283
295
Alternatively, you can modify ``sphinx_gallery_conf `` in ``conf.py `` as shown below
284
296
You can’t perform that action at this time.
0 commit comments