Skip to content

Commit

Permalink
Switch to Qiskit Ecosystem theme (#926)
Browse files Browse the repository at this point in the history
* Upgrade to new Qiskit sphinx theme

* Use ecosystem theme

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
Eric-Arellano and mergify[bot] authored Jul 24, 2023
1 parent c090952 commit e9b9c12
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 207 deletions.
3 changes: 0 additions & 3 deletions docs/source/_static/overrides.css

This file was deleted.

187 changes: 0 additions & 187 deletions docs/source/_templates/layout.html

This file was deleted.

8 changes: 0 additions & 8 deletions docs/source/_templates/theme_variables.jinja

This file was deleted.

13 changes: 5 additions & 8 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
'sphinx_reredirects',
'qiskit_sphinx_theme',
]
html_static_path = ["_static"]
templates_path = ['_templates']
extra_css_files = ["overrides.css"]

Expand Down Expand Up @@ -94,15 +93,13 @@
"""

# HTML Output Options
html_theme = 'qiskit_sphinx_theme'
html_theme_options = {
'logo_only': False,
'display_version': True,
'prev_next_buttons_location': 'bottom',
'style_external_links': True,
}
html_theme = 'qiskit-ecosystem'
html_title = f"{project} {release}"
htmlhelp_basename = 'rustworkx'

html_theme_options = {
"disable_ecosystem_logo": True,
}

# Latex options
latex_elements = {}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jupyter-sphinx
pydot
pillow>=4.2.1
reno>=3.4.0
qiskit-sphinx-theme~=1.12.0
qiskit-sphinx-theme~=1.14.0rc1
matplotlib>=3.4
sphinx-reredirects
sphinxemoji
Expand Down

0 comments on commit e9b9c12

Please sign in to comment.