Skip to content

Commit

Permalink
Upgrade to qiskit_sphinx_theme 1.12 (qiskit-community#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Arellano authored and DanPuzzuoli committed Jun 8, 2023
1 parent 5a1aec0 commit 278898f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Docs Publish
on:
workflow_dispatch:
push:
tags:
- "*"
Expand Down
6 changes: 1 addition & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

# pylint: disable=invalid-name

"""
Sphinx documentation builder
"""

# General options:

project = 'Qiskit Dynamics'
Expand All @@ -40,7 +36,7 @@
'sphinx.ext.intersphinx',
'nbsphinx',
'sphinxcontrib.bibtex',
"sphinxcontrib.jquery", # Remove when changing html_theme to qiskit_ecosystem.
"qiskit_sphinx_theme",
]
templates_path = ["_templates"]

Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ stestr>=3.0.0
astroid==2.9.3
pylint==2.12.2
black~=22.0
qiskit-sphinx-theme~=1.11
qiskit-sphinx-theme~=1.12.0
sphinx-autodoc-typehints
jupyter-sphinx
pygments>=2.4
Expand Down
9 changes: 6 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ deps =
jaxlib<=0.4.6
diffrax
commands =
sphinx-build -b html -W {posargs} docs/ docs/_build/html
sphinx-build -j auto -b html -W {posargs} docs/ docs/_build/html

[pycodestyle]
max-line-length = 100
[testenv:docs-clean]
skip_install = true
deps =
allowlist_externals = rm
commands = rm -rf {toxinidir}/docs/stubs/ {toxinidir}/docs/_build

0 comments on commit 278898f

Please sign in to comment.