diff --git a/pytket/docs/conf.py b/pytket/docs/conf.py index 6632d7b7fa..78ca420bae 100644 --- a/pytket/docs/conf.py +++ b/pytket/docs/conf.py @@ -55,7 +55,6 @@ extensions = [ "sphinx.ext.autodoc", "sphinx.ext.autosummary", - "sphinx.ext.intersphinx", "sphinx.ext.mathjax", "sphinx.ext.viewcode", "sphinx_copybutton", @@ -87,10 +86,6 @@ # This pattern also affects html_static_path and html_extra_path. exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] -# The name of the Pygments (syntax highlighting) style to use. -pygments_style = "borland" - - # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for @@ -102,10 +97,12 @@ # further. For a list of options available for each theme, see the # documentation. # + html_theme_options = { "repository_url": "https://github.com/CQCL/tket", "use_repository_button": True, "use_issues_button": True, + "navigation_with_keys": True, "logo": { "image_light": "_static/Quantinuum_logo_black.png", "image_dark": "_static/Quantinuum_logo_white.png", diff --git a/pytket/docs/requirements.txt b/pytket/docs/requirements.txt index 23775efc09..f2462fe93f 100644 --- a/pytket/docs/requirements.txt +++ b/pytket/docs/requirements.txt @@ -1,4 +1,4 @@ -sphinx >= 4.5, < 6.2.0 +sphinx >= 4.5, <7 sphinx_autodoc_annotation >= 1.0 sphinx_book_theme ~= 1.0.1 sphinx-copybutton