Navigation Menu

Skip to content

Commit

Permalink
docs(bigquery): fix the broken docs (#139)
Browse files Browse the repository at this point in the history
* docs(bigquery): fix the broken docs

* docs(bigquery): add autodoc_default_options into conf.py file
  • Loading branch information
HemangChothani committed Jun 19, 2020
1 parent de9998f commit 3235255
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -43,7 +43,7 @@

# autodoc/autosummary flags
autoclass_content = "both"
autodoc_default_flags = ["members", "inherited-members"]
autodoc_default_options = {"members": True, "inherited-members": True}
autosummary_generate = True


Expand Down
2 changes: 1 addition & 1 deletion google/cloud/bigquery/dataset.py
Expand Up @@ -84,7 +84,7 @@ class AccessEntry(object):
See https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets.
Attributes:
Args:
role (str):
Role granted to the entity. The following string values are
supported: `'READER'`, `'WRITER'`, `'OWNER'`. It may also be
Expand Down
6 changes: 6 additions & 0 deletions synth.py
Expand Up @@ -61,4 +61,10 @@
templated_files = common.py_library(cov_level=100)
s.move(templated_files, excludes=["noxfile.py"])

s.replace(
"docs/conf.py",
r'\{"members": True\}',
'{"members": True, "inherited-members": True}'
)

s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 comments on commit 3235255

Please sign in to comment.