From 70454fd113f63115b2102626e91c07e0ee00b7c5 Mon Sep 17 00:00:00 2001 From: Dan Lee <71398022+dandhlee@users.noreply.github.com> Date: Tue, 27 Jun 2023 03:06:12 -0400 Subject: [PATCH 1/2] chore: update noxfile for docfx job --- noxfile.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index 8464e4980..744c82858 100644 --- a/noxfile.py +++ b/noxfile.py @@ -425,13 +425,16 @@ def docs(session): ) -@nox.session(python=DEFAULT_PYTHON_VERSION) +@nox.session(python="3.9") def docfx(session): """Build the docfx yaml files for this library.""" session.install("-e", ".") session.install( - "sphinx==4.0.2", "alabaster", "recommonmark", "gcp-sphinx-docfx-yaml" + "sphinx==4.0.2", + "alabaster", + "recommonmark", + "gcp-sphinx-docfx-yaml", ) shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True) From db4ad32c845ef5f5960d3b8f1329d03b4eecfa2f Mon Sep 17 00:00:00 2001 From: Dan Lee <71398022+dandhlee@users.noreply.github.com> Date: Tue, 27 Jun 2023 03:19:04 -0400 Subject: [PATCH 2/2] chore: Update noxfile.py --- noxfile.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index 744c82858..57e534890 100644 --- a/noxfile.py +++ b/noxfile.py @@ -431,10 +431,9 @@ def docfx(session): session.install("-e", ".") session.install( - "sphinx==4.0.2", + "gcp-sphinx-docfx-yaml", "alabaster", "recommonmark", - "gcp-sphinx-docfx-yaml", ) shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)