Skip to content

Commit

Permalink
chore(py_library): add some excludes in docs/conf.py (#713)
Browse files Browse the repository at this point in the history
This should fix build failures in python-bigquery.
Example:
googleapis/python-bigquery#205

* also add a comment
  • Loading branch information
Takashi Matsuo authored Aug 3, 2020
1 parent 482d31d commit 4f8f5dc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion synthtool/gcp/templates/python_library/docs/conf.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import shlex
sys.path.insert(0, os.path.abspath(".."))

# For plugins that can not read conf.py.
# See also: https://github.com/docascode/sphinx-docfx-yaml/issues/85
sys.path.insert(0, os.path.abspath("."))

__version__ = "{{ metadata['version'] }}"
Expand Down Expand Up @@ -93,7 +94,12 @@ language = None

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ["_build"]
exclude_patterns = [
"_build",
"samples/AUTHORING_GUIDE.md",
"samples/CONTRIBUTING.md",
"samples/snippets/README.rst",
]

# The reST default role (used for this markup: `text`) to use for all
# documents.
Expand Down

0 comments on commit 4f8f5dc

Please sign in to comment.