diff --git a/docs/conf.py b/docs/conf.py index e673683ed..9e15dca3a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -5,7 +5,7 @@ from importlib import metadata try: - from sphinx_astropy.conf.v1 import * # noqa + from sphinx_astropy.conf.v3 import * # noqa except ImportError: print("ERROR: the documentation requires the sphinx-astropy package to be installed") sys.exit(1) @@ -47,41 +47,6 @@ # -- Options for HTML output --------------------------------------------------- - -# A NOTE ON HTML THEMES -# The global astropy configuration uses a custom theme, 'bootstrap-astropy', -# which is installed along with astropy. A different theme can be used or -# the options for this theme can be modified by overriding some of the -# variables set in the global configuration. The variables set in the -# global configuration are listed below, commented out. - -html_theme_options = { - "logotext1": "re", # white, semi-bold - "logotext2": "project", # orange, light - "logotext3": ":docs", # white, light -} - -# Add any paths that contain custom themes here, relative to this directory. -# To use a different custom theme, add the directory containing the theme. -# html_theme_path = [] - -# The theme to use for HTML and HTML Help pages. See the documentation for -# a list of builtin themes. To override the custom theme, set this to the -# name of a builtin theme or the name of a custom theme in html_theme_path. -# html_theme = None - -# Custom sidebar templates, maps document names to template names. -# html_sidebars = {} - -# The name of an image file (within the static path) to use as favicon of the -# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 -# pixels large. -# html_favicon = '' - -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -# html_last_updated_fmt = '' - # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". html_title = f"{project} v{release}" diff --git a/pyproject.toml b/pyproject.toml index 9c883e108..c9f65ac4e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ testall = [ "pyvo", ] docs = [ - "sphinx-astropy", + "sphinx-astropy[confv3]>=1.11", "pyvo", "matplotlib", "tqdm",