Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit e716de7

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 1fd0e64 commit e716de7

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# -- General configuration ------------------------------------------------
3030

3131
# If your documentation needs a minimal Sphinx version, state it here.
32-
needs_sphinx = "1.6.3"
32+
needs_sphinx = "1.5.5"
3333

3434
# Add any Sphinx extension module names here, as strings. They can be
3535
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom

noxfile.py

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

175175
session.install("-e", ".")
176-
session.install("sphinx", "alabaster", "recommonmark", "sphinx-docfx-yaml")
176+
# sphinx-docfx-yaml supports up to sphinx version 1.5.5.
177+
# https://github.com/docascode/sphinx-docfx-yaml/issues/97
178+
session.install("sphinx==1.5.5", "alabaster", "recommonmark", "sphinx-docfx-yaml")
177179

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

synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "d302f93d7f47e2852e585ac35ab2d15585717ec0"
22+
"sha": "ffcee7952b74f647cbb3ef021d95422f10816fca"
2323
}
2424
},
2525
{
2626
"git": {
2727
"name": "synthtool",
2828
"remote": "https://github.com/googleapis/synthtool.git",
29-
"sha": "d302f93d7f47e2852e585ac35ab2d15585717ec0"
29+
"sha": "ffcee7952b74f647cbb3ef021d95422f10816fca"
3030
}
3131
}
3232
],

0 commit comments

Comments
 (0)