From bae1f6b5fcdf2f5c037fb11a0433e9987252906c Mon Sep 17 00:00:00 2001 From: Arnau Casau <47946624+arnaucasau@users.noreply.github.com> Date: Tue, 17 Oct 2023 19:23:58 +0200 Subject: [PATCH] Update Sphinx theme (#398) * Update Sphinx theme * Update conf.py --------- Co-authored-by: grace-harper <119029214+grace-harper@users.noreply.github.com> --- docs/conf.py | 10 +++------- docs/index.rst | 5 +++++ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index b593fd90..6f95771e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -37,6 +37,7 @@ "sphinx_autodoc_typehints", "nbsphinx", "matplotlib.sphinxext.plot_directive", + "qiskit_sphinx_theme", ] templates_path = ["_templates"] numfig = True @@ -47,14 +48,9 @@ modindex_common_prefix = ["qiskit_qec."] # html theme options -html_theme = "qiskit_sphinx_theme" +html_theme = "qiskit-ecosystem" +html_title = f"{project} {release}" html_last_updated_fmt = "%Y/%m/%d" -html_theme_options = { - "logo_only": True, - "display_version": True, - "prev_next_buttons_location": "bottom", - "style_external_links": True, -} html_css_files = ["gallery.css"] html_static_path = ["_static"] diff --git a/docs/index.rst b/docs/index.rst index f6ffe5fc..a50c9c24 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -2,6 +2,11 @@ Qiskit QEC documentation ######################## +.. toctree:: + :hidden: + + Home + .. warning:: This package is still in the early stages of development and it is very likely