Content-Length: 411258 | pFad | https://www.github.com/googleapis/python-automl/commit/9f3e73a7e45088c929ae86b5b90f0e4f31a7b278

578 docs: re-publish tables client documentation (#146) · googleapis/python-automl@9f3e73a · GitHub
Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit 9f3e73a

Browse files
authored
docs: re-publish tables client documentation (#146)
The tables client documentation got deleted on accident - this re-adds the `TablesClient` and `GcsClient` under `automl_v1beta1`. Verify locally by running `nox -s docs` and looking at the output in `docs/_build/html`. Fixes b/184554120
1 parent 20d0c28 commit 9f3e73a

File tree

4 files changed

+21
-23
lines changed

4 files changed

+21
-23
lines changed

docs/automl_v1beta1/services.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ Services for Google Cloud Automl v1beta1 API
55

66
auto_ml
77
prediction_service
8+
tables

docs/automl_v1beta1/tables.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Tables
2+
------------------------
3+
4+
.. automodule:: google.cloud.automl_v1beta1.services.tables.gcs_client
5+
:members:
6+
:inherited-members:
7+
8+
9+
.. automodule:: google.cloud.automl_v1beta1.services.tables.tables_client
10+
:members:
11+
:inherited-members:

noxfile.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ def cover(session):
188188
def docs(session):
189189
"""Build the docs for this library."""
190190

191-
session.install("-e", ".[pandas,storage]")
192-
session.install("sphinx<3.0.0", "alabaster", "recommonmark")
191+
session.install("-e", ".")
192+
session.install("sphinx", "alabaster", "recommonmark")
193193

194194
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
195195
session.run(
@@ -209,10 +209,8 @@ def docs(session):
209209
def docfx(session):
210210
"""Build the docfx yaml files for this library."""
211211

212-
session.install("-e", ".[pandas,storage]")
213-
session.install(
214-
"sphinx<3.0.0", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml"
215-
)
212+
session.install("-e", ".")
213+
session.install("sphinx", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml")
216214

217215
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
218216
session.run(

synth.py

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,11 @@
5858

5959
s.replace(
6060
"docs/automl_v1beta1/services.rst",
61-
"""(google\.cloud\.automl_v1beta1\.services\.prediction_service
62-
:members:
63-
:inherited-members:)""",
64-
"""\g<1>\n.. automodule:: google.cloud.automl_v1beta1.services.tables
65-
:members:
66-
:inherited-members:"""
61+
"""auto_ml
62+
prediction_service""",
63+
"""auto_ml
64+
prediction_service
65+
tables"""
6766
)
6867

6968
# ----------------------------------------------------------------------------
@@ -79,9 +78,6 @@
7978

8079
s.move(templated_files)
8180

82-
# TODO(busunkim): Use latest sphinx after microgenerator transition
83-
s.replace("noxfile.py", """['"]sphinx['"]""", '"sphinx<3.0.0"')
84-
# TODO(busunkim): Remove after microgenerator transition.
8581
# This is being added to AutoML because the proto comments are long and
8682
# regex replaces are a brittle temporary solution.
8783
s.replace(
@@ -90,12 +86,4 @@
9086
\s+'-T', \# show full traceback on exception""",
9187
""""-T", # show full traceback on exception""")
9288

93-
94-
# install with extras (pandas, storage)
95-
s.replace(
96-
"noxfile.py",
97-
"""session\.install\(['"]-e['"], ['"]\.['"]\)""",
98-
"""session.install("-e", ".[pandas,storage]")""",
99-
)
100-
10189
s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://www.github.com/googleapis/python-automl/commit/9f3e73a7e45088c929ae86b5b90f0e4f31a7b278

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy