Skip to content

Commit 24f0c6f

Browse files
authored
docs: resurface googleapis.dev and prediction docs (#1724)
I've mistakenly broken some of the docs for types links on googleapis.dev. Fixing the docs structure so the docs are showing again. If you run `nox -s docs` and take a look around the docs, they'll be back up. I've verified that prediction pages are back up on c.g.c. - [x] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/python-aiplatform/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) Fixes #1722 🦕
1 parent 55e287f commit 24f0c6f

10 files changed

+18
-2
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

noxfile.py

+11-2
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,12 @@ def docs(session):
280280
"""Build the docs for this library."""
281281

282282
session.install("-e", ".")
283-
session.install("sphinx==4.0.1", "alabaster", "recommonmark")
283+
session.install(
284+
"sphinx==4.0.1",
285+
"alabaster",
286+
"google-cloud-aiplatform[prediction]",
287+
"recommonmark",
288+
)
284289

285290
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
286291
session.run(
@@ -302,7 +307,11 @@ def docfx(session):
302307

303308
session.install("-e", ".")
304309
session.install(
305-
"sphinx==4.0.1", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml"
310+
"sphinx==4.0.1",
311+
"alabaster",
312+
"google-cloud-aiplatform[prediction]",
313+
"recommonmark",
314+
"gcp-sphinx-docfx-yaml",
306315
)
307316

308317
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)

owlbot.py

+7
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,11 @@
142142
# Don't include tests in calculation of test coverage
143143
s.replace("noxfile.py", """ \"--cov=tests/unit\",""", "")
144144

145+
# Include prediction to be installed for documentation.
146+
s.replace(
147+
"noxfile.py",
148+
"\"alabaster\"",
149+
"\"alabaster\", \"google-cloud-aiplatform[prediction]\"",
150+
)
151+
145152
s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 commit comments

Comments
 (0)