Skip to content

Commit

Permalink
docs dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
dakk committed Nov 27, 2023
1 parent 3ba5903 commit cb57c3e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
python-version: '3.10'
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme myst_nb
pip install sphinx sphinx_rtd_theme sphinx_rtd_dark_mode myst_nb
pip install sympy qiskit-terra qiskit-aer matplotlib pylatexenc
python setup.py install
- name: Sphinx build
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tox
## Make docs

```
pip install sphinx sphinx_rtd_theme myst_nb
pip install sphinx sphinx_rtd_theme sphinx_rtd_dark_mode myst_nb
cd docs
make html
```
4 changes: 3 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"sphinx.ext.autosummary",
"sphinx.ext.coverage",
"sphinx.ext.napoleon",
"sphinx_rtd_dark_mode",
"sphinx_rtd_theme",
"myst_nb",
]
Expand All @@ -30,7 +31,8 @@
autodoc_source_dir = [
"../qlasskit",
]

pygments_style = "lightbulb"
default_dark_mode = False

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
Expand Down

0 comments on commit cb57c3e

Please sign in to comment.