Skip to content

Commit a2ee409

Browse files
chore(python-library): use sphinx 1.5.5 for the docfx job
Originally tested at: googleapis/python-texttospeech#89 This change will fix the missing docstring in the yaml files. Source-Author: Takashi Matsuo <[email protected]> Source-Date: Thu Sep 10 04:12:14 2020 +0000 Source-Repo: googleapis/synthtool Source-Sha: ffcee7952b74f647cbb3ef021d95422f10816fca Source-Link: googleapis/synthtool@ffcee79
1 parent 8eba262 commit a2ee409

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

noxfile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,9 @@ def docfx(session):
171171
"""Build the docfx yaml files for this library."""
172172

173173
session.install("-e", ".")
174-
session.install("sphinx<3.0.0", "alabaster", "recommonmark", "sphinx-docfx-yaml")
174+
# sphinx-docfx-yaml supports up to sphinx version 1.5.5.
175+
# https://github.com/docascode/sphinx-docfx-yaml/issues/97
176+
session.install("sphinx==1.5.5", "alabaster", "recommonmark", "sphinx-docfx-yaml")
175177

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

synth.metadata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "d302f93d7f47e2852e585ac35ab2d15585717ec0"
22+
"sha": "ffcee7952b74f647cbb3ef021d95422f10816fca"
2323
}
2424
}
2525
],

0 commit comments

Comments
 (0)