Skip to content

Commit

Permalink
Pin sphinx<8 / update sphinx config for sphinx8 (AMICI-dev#2532)
Browse files Browse the repository at this point in the history
Some dependency lifted there sphinx<8 requirement, but this leads to a number of issues with other dependencies. Therefore, require sphinx<8 for now.

Anyways fix some upcoming issue with sphinx 8 when doc2path will return something path-like (see ICB-DCM/pyPESTO#1482).
  • Loading branch information
dweindl authored Oct 8, 2024
1 parent 539de29 commit 2784887
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def install_doxygen():
nbsphinx_prolog = (
f"{{% set {ref=} %}}"
r"""
{% set docname = "documentation/" + env.doc2path(env.docname, base=False) %}
{% set docname = "documentation/" + env.doc2path(env.docname, base=False)|string %}
.. raw:: html
<div class="note">
Expand Down
2 changes: 1 addition & 1 deletion documentation/rtd_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# NOTE: relative paths are expected to be relative to the repository root
sphinx
sphinx<8
mock>=5.0.2
setuptools>=67.7.2
pysb>=1.11.0
Expand Down

0 comments on commit 2784887

Please sign in to comment.