Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Sphinx theme #1946

Merged
merged 9 commits into from
Oct 18, 2023
4 changes: 0 additions & 4 deletions constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ astroid==2.3.3
six>1.10,<=1.14
numpy>=1.16.3,<1.25
scipy>=1.0
# stevedore, used by Terra currently (as of 3.4.0) issues deprecation warnings
# with modern importlib-metadata (4.8.1). importlib-metadata is only needed on
# Python <3.8.
importlib-metadata==4.6.4

# Jinja2 3.1.0 is incompatible with sphinx and/or jupyter until they are updated
# to work with the new jinja version (the jinja maintainers aren't going to
Expand Down
12 changes: 3 additions & 9 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,19 +138,13 @@
# a list of builtin themes.
#

html_theme = "qiskit_sphinx_theme"
html_theme = "qiskit-ecosystem"
html_title = f"{project} {release}"

html_logo = 'images/logo.png'
#html_logo = 'images/logo.png'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay! Thank you Eric!

#html_sidebars = {'**': ['globaltoc.html']}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can also be deleted

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,
}

autoclass_content = 'both'
intersphinx_mapping = {
"matplotlib": ("https://matplotlib.org/stable/", None),
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ https://github.com/Qiskit/qiskit-aer
.. toctree::
:hidden:

Home <self>
Getting Started <getting_started>
API Documentation <apidocs/aer>
Tutorials <tutorials/index>
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ reno>=3.4.0
ddt>=1.2.0,!=1.4.0
matplotlib>=3.3
seaborn>=0.9.0
qiskit_sphinx_theme~=1.12.0
qiskit_sphinx_theme~=1.16.0
sphinx-design>=0.2.0
nbsphinx
qiskit_qasm3_import