Skip to content

Commit

Permalink
setup.py: Force Sphinx > 2 for readthedocs
Browse files Browse the repository at this point in the history
FIX

readthedocs uses an old version of sphinx for projects created before
2020:
mgeier/sphinx-last-updated-by-git#1

So force a newer version.
  • Loading branch information
douglas-raillard-arm committed Mar 13, 2023
1 parent 68ecbc6 commit 57f1035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -77,9 +77,9 @@ def make_console_script(name):
}

extras_require["doc"] = [
"sphinx >= 1.8",
# Force ReadTheDocs to use a recent version, rather than the defaults used
# for old projects.
"sphinx > 2",
"sphinx_rtd_theme >= 0.5.2",
"sphinxcontrib-plantuml",
"nbsphinx",
Expand Down

0 comments on commit 57f1035

Please sign in to comment.