Skip to content

Commit

Permalink
doc: Update readthedocs Sphinx version to 6.1.3
Browse files Browse the repository at this point in the history
readthedocs uses an old version of sphinx for projects created before
2020:
mgeier/sphinx-last-updated-by-git#1

So force a newer version manually.

Also install missing apt packages for dot and plantuml
  • Loading branch information
douglas-raillard-arm committed Mar 13, 2023
1 parent 68ecbc6 commit 5439d94
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .readthedocs.yml
Expand Up @@ -20,6 +20,10 @@ build:
os: ubuntu-20.04
tools:
python: "3.10"
apt_packages:
- graphviz
- plantuml
- pandoc

python:
install:
Expand Down
2 changes: 1 addition & 1 deletion doc/doc_requirements.txt
@@ -1,5 +1,5 @@

sphinx==3.5.1
sphinx==6.1.3

# A streamlined version of devmode_requirements.txt for doc building
-e ./tools/exekall
Expand Down
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 5439d94

Please sign in to comment.