Skip to content

Commit

Permalink
Pin down sphinx to <7.3.0 to get doc builds back (#252)
Browse files Browse the repository at this point in the history
* Pin down sphinx to <7.3.0 to get doc builds back

* we use htmldir on website now

* Update tox.ini
  • Loading branch information
Cadair authored Apr 18, 2024
1 parent 9495882 commit dfcaded
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers = [
requires-python = ">=3.9"
dependencies = [
"pydata-sphinx-theme~=0.15.0",
"sphinx"
"sphinx<7.3.0"
]

[project.optional-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ changedir = .tmp/{envname}
commands =
/bin/sh -c "git -C sunpy.org pull || git clone --recurse-submodules https://github.com/sunpy/sunpy.org"
python -m pip install -r "sunpy.org/requirements.txt"
sphinx-build --color -b html sunpy.org/ sunpy.org/_build/html {posargs}
sphinx-build --color -b dirhtml sunpy.org/ sunpy.org/_build/html {posargs}
python -c 'import pathlib; print("Website available under file://\{0\}".format(pathlib.Path("./sunpy.org") / "_build" / "html" / "index.html"))'

0 comments on commit dfcaded

Please sign in to comment.