Skip to content

Commit 67bcfb1

Browse files
Use Dask configuration extension from dask-sphinx-theme (#8751)
Co-authored-by: Jacob Tomlinson <jtomlinson@nvidia.com>
1 parent 3fee524 commit 67bcfb1

3 files changed

Lines changed: 2 additions & 102 deletions

File tree

docs/requirements-docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
numpydoc
22
sphinx>=4.0.0
3-
dask-sphinx-theme>=2.0.0
3+
dask-sphinx-theme>=2.0.3
44
sphinx-click
55
sphinx-remove-toctrees
66
sphinx-tabs

docs/source/conf.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
# documentation root, use os.path.abspath to make it absolute, like shown here.
3030
sys.path.insert(0, os.path.abspath("../../"))
3131

32-
source_dir = os.path.dirname(__file__)
33-
sys.path.insert(0, os.path.join(source_dir, "ext"))
34-
3532
extensions = [
3633
"sphinx.ext.autodoc",
3734
"sphinx.ext.doctest",
@@ -42,7 +39,7 @@
4239
"sphinx.ext.viewcode",
4340
"numpydoc",
4441
"sphinx_click.ext",
45-
"dask_config_sphinx_ext",
42+
"dask_sphinx_theme.ext.dask_config_sphinx_ext",
4643
"sphinx_tabs.tabs",
4744
"sphinx_remove_toctrees",
4845
"IPython.sphinxext.ipython_console_highlighting",

docs/source/ext/dask_config_sphinx_ext.py

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)