Skip to content

Commit

Permalink
[WIP] Switch to qiskit-sphinx-theme (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Arellano authored Jul 10, 2023
1 parent 34b9fea commit 36e4efb
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 9 deletions.
Binary file removed docs/_static/no_image.png
Binary file not shown.
4 changes: 0 additions & 4 deletions docs/_static/style.css

This file was deleted.

6 changes: 2 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"sphinx_copybutton",
"sphinx_reredirects",
"sphinx.ext.intersphinx",
"qiskit_sphinx_theme",
]
templates_path = ["_templates"]
numfig = True
Expand All @@ -57,11 +58,8 @@
pygments_style = "colorful"
add_module_names = False
modindex_common_prefix = ["circuit_knitting."]
html_css_files = ["style.css"]

# html theme options
html_static_path = ["_static"]
# html_logo = "_static/images/logo.png"
html_theme = "qiskit"

# autodoc/autosummary options
autosummary_generate = True
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ docs = [
"nbsphinx>=0.8.8",
"sphinx-copybutton>=0.5.0",
"reno>=3.4.0",
"qiskit-sphinx-theme~=1.13.0rc2"
]
notebook-dependencies = [
"circuit-knitting-toolbox[cplex,pyscf]",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ extras =
commands =
python -c 'import shutil, pathlib; shutil.rmtree(pathlib.Path("docs") / "stubs", ignore_errors=True)'
python -c 'import shutil, pathlib; shutil.rmtree(pathlib.Path("docs") / "_build" / "html" / ".doctrees", ignore_errors=True)'
sphinx-build -j auto -b html -W -T --keep-going {posargs} docs/ docs/_build/html
sphinx-build -j auto -W -T --keep-going {posargs} docs/ docs/_build/html

0 comments on commit 36e4efb

Please sign in to comment.