File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 31
31
To test your tutorial locally, you can do one of the following:
32
32
33
33
* You can control specific files that generate the results by using
34
- ``GALLERY_PATTERN`` environment variable, For example to run only ``neural_style_transfer_tutorial.py``,
35
- run the following command:
34
+ ``GALLERY_PATTERN`` environment variable. The GALLERY_PATTERN variable
35
+ respects regular expressions.
36
+ For example to run only ``neural_style_transfer_tutorial.py``,
37
+ use the following command:
36
38
37
- .. code-block::
39
+ .. code-block:: sh
38
40
39
41
GALLERY_PATTERN="neural_style_transfer_tutorial.py" make html
40
42
41
43
or
42
44
43
- .. code-block::
45
+ .. code-block:: sh
44
46
45
47
GALLERY_PATTERN="neural_style_transfer_tutorial.py" sphinx-build . _build
46
-
47
- The GALLERY_PATTERN variable respects regular expressions.
48
48
49
49
* Make a copy of this repo and add only your
50
50
tutorial removing everything. Then run ``make html``.
You can’t perform that action at this time.
0 commit comments