From c69fd1e9d47f0f9c005c24dbbb2e91abc58ce1ee Mon Sep 17 00:00:00 2001 From: Paul Natsuo Kishimoto Date: Fri, 8 Nov 2024 11:34:09 +0100 Subject: [PATCH] Change to "furo" Sphinx HTML theme --- doc/conf.py | 11 ++--------- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 1b833828..25a948e5 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -49,17 +49,10 @@ # The theme to use for HTML and HTML Help pages. See the documentation for a list of # builtin themes. -html_theme = "sphinx_book_theme" +html_theme = "furo" html_theme_options = dict( - navigation_with_keys=False, # Silence a warning - path_to_docs="doc", - repository_url="https://github.com/khaeru/genno", - show_navbar_depth=2, - use_edit_page_button=True, - use_issues_button=True, - use_repository_button=True, - use_source_button=True, + top_of_page_buttons=["view", "edit"], ) # -- Options for genno.compat.sphinx.reference_alias ----------------------------------- diff --git a/pyproject.toml b/pyproject.toml index 06c12ac5..7275eea8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ dependencies = [ [project.optional-dependencies] # Graphviz, for Computer.describe() graphviz = ["graphviz"] -docs = ["IPython", "sphinx-book-theme"] +docs = ["furo", "IPython"] # Specific packages for which compatibility is provided plotnine = ["plotnine"] pyam = ["pyam-iamc"]