From 8b42eccafd39245fa64007581110b790d33e1db2 Mon Sep 17 00:00:00 2001 From: Arnau Casau Date: Fri, 6 Oct 2023 19:54:25 +0200 Subject: [PATCH 1/2] Update Sphinx theme --- 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..ba63220b 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 From 21a41fea08668e580d2fed45d600a61a5509756c Mon Sep 17 00:00:00 2001 From: Arnau Casau <47946624+arnaucasau@users.noreply.github.com> Date: Mon, 16 Oct 2023 15:43:59 +0200 Subject: [PATCH 2/2] Update conf.py --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index ba63220b..6f95771e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -37,7 +37,7 @@ "sphinx_autodoc_typehints", "nbsphinx", "matplotlib.sphinxext.plot_directive", - 'qiskit_sphinx_theme', + "qiskit_sphinx_theme", ] templates_path = ["_templates"] numfig = True