Skip to content

Commit fcbc81b

Browse files
Eric-Arellanomergify[bot]
authored andcommitted
Switch to Qiskit Ecosystem theme (#926)
* Upgrade to new Qiskit sphinx theme * Use ecosystem theme --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 33dd9c8 commit fcbc81b

File tree

5 files changed

+6
-207
lines changed

5 files changed

+6
-207
lines changed

docs/source/_static/overrides.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/source/_templates/layout.html

Lines changed: 0 additions & 187 deletions
This file was deleted.

docs/source/_templates/theme_variables.jinja

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/source/conf.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
'sphinx_reredirects',
4343
'qiskit_sphinx_theme',
4444
]
45-
html_static_path = ["_static"]
4645
templates_path = ['_templates']
4746
extra_css_files = ["overrides.css"]
4847

@@ -94,15 +93,13 @@
9493
"""
9594

9695
# HTML Output Options
97-
html_theme = 'qiskit_sphinx_theme'
98-
html_theme_options = {
99-
'logo_only': False,
100-
'display_version': True,
101-
'prev_next_buttons_location': 'bottom',
102-
'style_external_links': True,
103-
}
96+
html_theme = 'qiskit-ecosystem'
97+
html_title = f"{project} {release}"
10498
htmlhelp_basename = 'rustworkx'
10599

100+
html_theme_options = {
101+
"disable_ecosystem_logo": True,
102+
}
106103

107104
# Latex options
108105
latex_elements = {}

docs/source/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jupyter-sphinx
44
pydot
55
pillow>=4.2.1
66
reno>=3.4.0
7-
qiskit-sphinx-theme~=1.12.0
7+
qiskit-sphinx-theme~=1.14.0rc1
88
matplotlib>=3.4
99
sphinx-reredirects
1010
sphinxemoji

0 commit comments

Comments
 (0)