Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(bigquery): fix the broken docs #139

Merged
merged 2 commits into from Jun 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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)