From 1e5fae945caac10b99e7c325e25bf38067971b9c Mon Sep 17 00:00:00 2001 From: Daniel Puzzuoli Date: Mon, 23 Oct 2023 13:07:04 -0700 Subject: [PATCH] Update to new qiskit docs theme (#246) Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com> --- docs/conf.py | 10 ++-------- requirements-dev.txt | 2 +- tox.ini | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 809be684a..28280d731 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -54,15 +54,9 @@ bibtex_footbibliography_header = bibtex_bibliography_header # html theme options -html_theme = 'qiskit_sphinx_theme' +html_theme = 'qiskit-ecosystem' 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_context = {"analytics_enabled": True} # autodoc/autosummary options diff --git a/requirements-dev.txt b/requirements-dev.txt index cdfea3f16..d70531cb4 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,7 +2,7 @@ stestr>=3.0.0 astroid==2.9.3 pylint==2.12.2 black~=22.0 -qiskit-sphinx-theme~=1.12.0 +qiskit-sphinx-theme~=1.16.0 sphinx-autodoc-typehints jupyter-sphinx # The following line is needed until diff --git a/tox.ini b/tox.ini index 1efa34cc5..c134ac558 100644 --- a/tox.ini +++ b/tox.ini @@ -45,7 +45,7 @@ deps = jaxlib<=0.4.6 diffrax commands = - sphinx-build -j auto -b html -W {posargs} docs/ docs/_build/html + sphinx-build -j auto -W -T --keep-going {posargs} docs/ docs/_build/html [testenv:docs-clean] skip_install = true