diff --git a/docs/environment.yml b/docs/environment.yml index c175f9b5e..c63eaedae 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -4,15 +4,14 @@ channels: - conda-forge - nodefaults dependencies: -- python=3.8 -- sphinx>=1.8 +- python=3.10 +- jsx-lexer +- sphinx>=5.0 - sphinx-copybutton -- sphinx_rtd_theme +- pydata-sphinx-theme +- myst-parser - pytest +- pytest-check-links +- requests-cache - pip - nodejs -- pip: - - jsx-lexer - - pytest-check-links[cache]>=0.4.3 - - myst_parser - - requests_cache diff --git a/docs/source/conf.py b/docs/source/conf.py index 88e34c700..edb28cb6d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -48,7 +48,8 @@ 'myst_parser', 'sphinx.ext.intersphinx', 'sphinx.ext.mathjax', - 'sphinx_copybutton' + 'sphinx_copybutton', + ] myst_enable_extensions = ["html_image"] @@ -156,9 +157,7 @@ def build_examples(out_dir): # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -import sphinx_rtd_theme -html_theme = "sphinx_rtd_theme" -html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] +html_theme ="pydata_sphinx_theme" # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -176,15 +175,7 @@ def build_examples(out_dir): # # This is required for the alabaster theme # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars -html_sidebars = { - '**': [ - 'about.html', - 'navigation.html', - 'relations.html', # needs 'show_related': True theme option to display - 'searchbox.html', - 'donate.html', - ] -} +# html_sidebars = {} # Output for github to be used in links html_context = {