Skip to content

Commit

Permalink
Sphinx fixes (#59)
Browse files Browse the repository at this point in the history
* Release 2022.11.0

* Fix extension config

* Remove old path changes and update config url
  • Loading branch information
jacobtomlinson authored Jan 25, 2024
1 parent 3538320 commit 866d291
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
15 changes: 1 addition & 14 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,6 @@

# -- Path setup --------------------------------------------------------------

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import dask
import os
import sys

# Add the Dask config extension
sys.path.insert(
0, os.path.join(os.path.abspath(dask.__path__[0]), "..", "docs", "source", "ext")
)


# -- Project information -----------------------------------------------------

Expand All @@ -41,7 +28,7 @@
"sphinx.ext.autodoc",
"sphinx_click",
"sphinx.ext.autosummary",
"dask_config_sphinx_ext",
"dask_sphinx_theme.ext.dask_config_sphinx_ext",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
4 changes: 2 additions & 2 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Reference

.. dask-config-block::
:location: ctl
:config: https://raw.githubusercontent.com/dask-contrib/dask-ctl/main/dask-ctl/ctl.yaml
:schema: https://raw.githubusercontent.com/dask-contrib/dask-ctl/main/dask-ctl/ctl-schema.yaml
:config: https://raw.githubusercontent.com/dask-contrib/dask-ctl/main/dask_ctl/ctl.yaml
:schema: https://raw.githubusercontent.com/dask-contrib/dask-ctl/main/dask_ctl/ctl-schema.yaml

0 comments on commit 866d291

Please sign in to comment.