diff --git a/docs/conf.py b/docs/conf.py index 1b7d415e2..41622df71 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,25 +27,19 @@ "sphinx_autodoc_typehints", "myst_parser", "nbsphinx", + "qiskit_sphinx_theme", ] exclude_patterns = ["_build", "**.ipynb_checkpoints"] # HTML output options -html_theme = "furo" +html_theme = "qiskit-ecosystem" +html_title = f"{project} {release}" html_theme_options = { - "footer_icons": [ - { - "name": "GitHub", - "url": "https://github.com/qiskit-community/ffsim", - "html": """ - - - - """, # noqa: E501 - "class": "", - }, - ], + "source_repository": "https://github.com/qiskit-community/ffsim/", + "source_branch": "main", + "source_directory": "docs/", + "sidebar_qiskit_ecosystem_member": True, } # nbsphinx options (for tutorials) diff --git a/pyproject.toml b/pyproject.toml index 508fcef1f..04d6bcea8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,6 @@ Documentation = "https://qiskit-community.github.io/ffsim/" [project.optional-dependencies] dev = [ "coverage", - "furo", "maturin", "mypy", "myst-parser", @@ -48,6 +47,7 @@ dev = [ "pre-commit", "pytest", "qiskit[visualization]", + "qiskit-sphinx-theme", "ruff == 0.6.2", "sphinx", "sphinx-autodoc-typehints",