Skip to content

Commit 8f4d160

Browse files
Update docs theme and remove docs env pins (#695)
1 parent 49db60a commit 8f4d160

File tree

5 files changed

+7
-16
lines changed

5 files changed

+7
-16
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/

dask_jobqueue/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ def __init__(
663663
job_kwargs["interface"] = interface
664664
job_kwargs["protocol"] = protocol
665665
job_kwargs["security"] = self._get_worker_security(security)
666-
666+
667667
self.queue = queue
668668
if queue is not None:
669669
job_kwargs["queue"] = queue

docs/requirements-docs.txt

Lines changed: 2 additions & 11 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
6-
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
6+
dask-sphinx-theme>=4.0.0

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
}

readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: 2
77
build:
88
os: "ubuntu-22.04"
99
tools:
10-
python: "3.10"
10+
python: "3.12"
1111

1212
sphinx:
1313
configuration: docs/source/conf.py

0 commit comments

Comments
 (0)