Skip to content

Commit

Permalink
Switch sphinx themes
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Nov 6, 2021
1 parent 5f432eb commit eece8d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -1538,7 +1538,7 @@ value = (
```

**Python:**
````coconut_python
```coconut_python
value = (
a if should_use_a() else
b if should_use_b() else
Expand Down
4 changes: 2 additions & 2 deletions coconut/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def str_to_bool(boolstr, default=False):
"sphinx",
"pygments",
"myst-parser",
"sphinx_bootstrap_theme",
"python-docs-theme",
),
"tests": (
"pytest",
Expand Down Expand Up @@ -605,7 +605,7 @@ def str_to_bool(boolstr, default=False):
("dataclasses", "py==36"): (0, 8),
("aenum", "py<34"): (3,),
"sphinx": (4, 2),
"sphinx_bootstrap_theme": (0, 8),
"python-docs-theme": (2021,),
"myst-parser": (0, 15),
# don't upgrade this until https://github.com/jupyter/jupyter_console/issues/241 is fixed
("jupyter-client", "py3"): (6, 1, 12),
Expand Down
4 changes: 1 addition & 3 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
from coconut.util import univ_open

import myst_parser # NOQA
from sphinx_bootstrap_theme import get_html_theme_path

# -----------------------------------------------------------------------------------------------------------------------
# README:
Expand All @@ -57,8 +56,7 @@
version = VERSION
release = version_str_tag

html_theme = "bootstrap"
html_theme_path = get_html_theme_path()
html_theme = "python_docs_theme"
html_theme_options = {
}

Expand Down

0 comments on commit eece8d6

Please sign in to comment.