Skip to content

Commit

Permalink
Update Sphinx theme (#1262)
Browse files Browse the repository at this point in the history
* Update Sphinx theme

Co-authored-by: Frank Harkins <[email protected]>

* Fix docs heading levels

---------

Co-authored-by: Frank Harkins <[email protected]>
  • Loading branch information
arnaucasau and frankharkins authored Oct 13, 2023
1 parent 7de5334 commit 12f23a7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 17 deletions.
15 changes: 2 additions & 13 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,19 +187,8 @@

# -- Options for HTML output -------------------------------------------------

html_theme = "qiskit_sphinx_theme"
html_theme_options = {
"logo_only": False,
"display_version": True,
"prev_next_buttons_location": "bottom",
"style_external_links": False,
# Toc options
"collapse_navigation": True,
"sticky_navigation": True,
"navigation_depth": 4,
"includehidden": True,
"titles_only": False,
}
html_theme = "qiskit-ecosystem"
html_title = f"{project} {release}"

intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
Expand Down
2 changes: 1 addition & 1 deletion qiskit_nature/second_q/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.. currentmodule:: qiskit_nature.second_q
Submodules
==========
----------
.. autosummary::
:toctree:
Expand Down
2 changes: 1 addition & 1 deletion qiskit_nature/second_q/formats/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.. currentmodule:: qiskit_nature.second_q.formats
Submodules
==========
----------
.. autosummary::
:toctree:
Expand Down
2 changes: 1 addition & 1 deletion qiskit_nature/second_q/hamiltonians/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
LatticeModel
Submodules
==========
----------
.. autosummary::
:toctree:
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ qiskit-aer>=0.11.2
mypy>=0.991
mypy-extensions>=0.4.3
nbsphinx
qiskit_sphinx_theme~=1.12.0
qiskit_sphinx_theme~=1.16.0
networkx>=2.2,<2.6

0 comments on commit 12f23a7

Please sign in to comment.