Skip to content

Commit 3235255

Browse files
docs(bigquery): fix the broken docs (#139)
* docs(bigquery): fix the broken docs * docs(bigquery): add autodoc_default_options into conf.py file
1 parent de9998f commit 3235255

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
# autodoc/autosummary flags
4545
autoclass_content = "both"
46-
autodoc_default_flags = ["members", "inherited-members"]
46+
autodoc_default_options = {"members": True, "inherited-members": True}
4747
autosummary_generate = True
4848

4949

google/cloud/bigquery/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class AccessEntry(object):
8484
8585
See https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets.
8686
87-
Attributes:
87+
Args:
8888
role (str):
8989
Role granted to the entity. The following string values are
9090
supported: `'READER'`, `'WRITER'`, `'OWNER'`. It may also be

synth.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,10 @@
6161
templated_files = common.py_library(cov_level=100)
6262
s.move(templated_files, excludes=["noxfile.py"])
6363

64+
s.replace(
65+
"docs/conf.py",
66+
r'\{"members": True\}',
67+
'{"members": True, "inherited-members": True}'
68+
)
69+
6470
s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 commit comments

Comments
 (0)