File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ pip install -r requirements.txt
159159
160160``` bash
161161cd docs
162- make html
162+ make html-noplot
163163```
164164
165165Then open ` docs/build/html/index.html ` in your favorite browser.
@@ -173,13 +173,13 @@ clean``.
173173
174174#### Building the example gallery - or not
175175
176- When you run `` make html `` for the first time, all the examples in the gallery
177- will be built. Subsequent builds should be faster, and will only build the
178- examples that have been modified.
176+ In most cases, running ` make html-noplot ` is enough to build the docs for your
177+ specific use-case. The ` noplot ` part tells sphinx ** not** to build the examples
178+ in the [ gallery] ( https://pytorch.org/vision/stable/auto_examples/index.html ) ,
179+ which saves a lot of building time.
179180
180- You can run `` make html-noplot `` to not build the examples at all. This is
181- useful after a `` make clean `` to do some quick checks that are not related to
182- the examples.
181+ If you need to build all the examples in the gallery, then you can use `make
182+ html`.
183183
184184You can also choose to only build a subset of the examples by using the
185185`` EXAMPLES_PATTERN `` env variable, which accepts a regular expression. For
You can’t perform that action at this time.
0 commit comments