Skip to content

Commit 5dbc4b9

Browse files
Fixes for Sphinx 8
1 parent 49db60a commit 5dbc4b9

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,4 @@ ci/slurm/environment.yml
137137
ci/pbs/environment.yml
138138
ci/sge/environment.yml
139139
ci/htcondor/environment.yml
140+
docs/generated/

docs/requirements-docs.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
distributed
22
numpydoc
33
ipython
4-
sphinx<5
4+
sphinx>=8
55
sphinx-reredirects
66
dask-sphinx-theme>=3.0.0
7-
# FIXME: This workaround is required until we have sphinx>=5, as enabled by
8-
# dask-sphinx-theme no longer pinning sphinx-book-theme==0.2.0. This is
9-
# tracked in https://github.com/dask/dask-sphinx-theme/issues/68.
10-
#
11-
sphinxcontrib-applehelp<1.0.5
12-
sphinxcontrib-devhelp<1.0.6
13-
sphinxcontrib-htmlhelp<2.0.5
14-
sphinxcontrib-serializinghtml<1.1.10
15-
sphinxcontrib-qthelp<1.0.7

docs/source/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
# Add any Sphinx extension module names here, as strings. They can be
4141
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
4242
# ones.
43-
extensions = ["sphinx.ext.autodoc", "sphinx.ext.intersphinx", "sphinx.ext.mathjax"]
4443
extensions = [
4544
"sphinx.ext.autodoc",
4645
"sphinx.ext.mathjax",
@@ -210,6 +209,6 @@
210209
# Link to GitHub issues and pull requests using :pr:`1234` and :issue:`1234`
211210
# syntax
212211
extlinks = {
213-
"issue": ("https://github.com/dask/dask-jobqueue/issues/%s", "GH#"),
214-
"pr": ("https://github.com/dask/dask-jobqueue/pull/%s", "GH#"),
212+
"issue": ("https://github.com/dask/dask-jobqueue/issues/%s", "GH#%s"),
213+
"pr": ("https://github.com/dask/dask-jobqueue/pull/%s", "GH#%s"),
215214
}

0 commit comments

Comments
 (0)