From a1b3925a74927020f57d4423166ec96d5dd462e6 Mon Sep 17 00:00:00 2001 From: scharlottej13 Date: Fri, 3 Jun 2022 17:38:40 -0700 Subject: [PATCH] update dask-sphinx-theme --- docs/conf.py | 12 ++++-------- docs/requirements_all.txt | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index d438a45..5c44c35 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -86,20 +86,16 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '**.ipynb_checkpoints'] # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +# Commenting this out for now, if we register dask pygments, +# then eventually this line can be: +# pygments_style = "dask" # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = False # -- Options for HTML output ---------------------------------------------- - -on_rtd = os.environ.get('READTHEDOCS', None) == 'True' - -if not on_rtd: # only import and set the theme if we're building docs locally - import sphinx_rtd_theme - html_theme = 'sphinx_rtd_theme' - html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] +html_theme = 'dask_sphinx_theme' # Theme options are theme-specific and customize the look and feel of a theme diff --git a/docs/requirements_all.txt b/docs/requirements_all.txt index fdc7265..ab85a26 100644 --- a/docs/requirements_all.txt +++ b/docs/requirements_all.txt @@ -8,4 +8,4 @@ jupyter notebook nbsphinx sphinx -sphinx_rtd_theme +dask-sphinx-theme>=3.0.0