Skip to content

Commit fc74ed6

Browse files
committed
Exclude src/pytorch_sphinx_theme/docs from the build
1 parent 38f6324 commit fc74ed6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-
2+
# -* coding: utf-8 -*-
33
#
44
# PyTorch Tutorials documentation build configuration file, created by
55
# sphinx-quickstart on Wed Mar 8 22:38:10 2017.
@@ -191,7 +191,7 @@ def reset_seeds(gallery_conf, fname):
191191
# List of patterns, relative to source directory, that match files and
192192
# directories to ignore when looking for source files.
193193
# This patterns also effect to html_static_path and html_extra_path
194-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
194+
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'src/pytorch_sphinx_theme/docs']
195195
exclude_patterns += sphinx_gallery_conf['examples_dirs']
196196
exclude_patterns += ['*/index.rst']
197197

0 commit comments

Comments
 (0)