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

Commit feb04c5

Browse files
author
Takashi Matsuo
authored
docs: use sphinx-1.5.5 for sphinx-docfx-yaml (#89)
It should only affects docfx session.
1 parent 0612793 commit feb04c5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
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(

0 commit comments

Comments
 (0)