diff --git a/docs/_static/no_image.png b/docs/_static/no_image.png deleted file mode 100644 index d08b40bd8..000000000 Binary files a/docs/_static/no_image.png and /dev/null differ diff --git a/docs/_static/style.css b/docs/_static/style.css deleted file mode 100644 index e8b140f42..000000000 --- a/docs/_static/style.css +++ /dev/null @@ -1,4 +0,0 @@ -/* Fix display of nbgallery with Sphinx default css */ -.figure .caption .caption-text a.reference.internal { - border: 0; -} diff --git a/docs/conf.py b/docs/conf.py index 14775eea7..c5fa413e9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -49,6 +49,7 @@ "sphinx_copybutton", "sphinx_reredirects", "sphinx.ext.intersphinx", + "qiskit_sphinx_theme", ] templates_path = ["_templates"] numfig = True @@ -57,11 +58,8 @@ pygments_style = "colorful" add_module_names = False modindex_common_prefix = ["circuit_knitting."] -html_css_files = ["style.css"] -# html theme options -html_static_path = ["_static"] -# html_logo = "_static/images/logo.png" +html_theme = "qiskit" # autodoc/autosummary options autosummary_generate = True diff --git a/pyproject.toml b/pyproject.toml index 24c010844..1327396c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,6 +84,7 @@ docs = [ "nbsphinx>=0.8.8", "sphinx-copybutton>=0.5.0", "reno>=3.4.0", + "qiskit-sphinx-theme~=1.13.0rc2" ] notebook-dependencies = [ "circuit-knitting-toolbox[cplex,pyscf]", diff --git a/tox.ini b/tox.ini index eaf915265..505d2439f 100644 --- a/tox.ini +++ b/tox.ini @@ -60,4 +60,4 @@ extras = commands = python -c 'import shutil, pathlib; shutil.rmtree(pathlib.Path("docs") / "stubs", ignore_errors=True)' python -c 'import shutil, pathlib; shutil.rmtree(pathlib.Path("docs") / "_build" / "html" / ".doctrees", ignore_errors=True)' - sphinx-build -j auto -b html -W -T --keep-going {posargs} docs/ docs/_build/html + sphinx-build -j auto -W -T --keep-going {posargs} docs/ docs/_build/html