Skip to content

Commit e1d111e

Browse files
authored
theme update and search fix (#103)
* test theme update and search fix * update requirements with released theme * configure rtd search
1 parent 2bd2dfa commit e1d111e

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

.readthedocs.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,21 @@ python:
1414
install:
1515
- requirements: requirements.txt
1616

17+
search:
18+
ranking:
19+
_sources/*: -10
20+
genindex.html: -9
21+
blog/tag/*: -2
22+
blog/category/*: -3
23+
blog/author/*: -5
24+
blog/20[0-9].html: -5
25+
blog/archive.html: -5
26+
blog/author.html: -5
27+
blog/category.html: -5
28+
blog/drafts.html: -5
29+
blog/tag.html: -5
30+
31+
ignore:
32+
- 404.html
33+
- search.html
34+
- index.html

conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"sphinxext.opengraph",
4141
"sphinx_codeautolink",
4242
"notfound.extension",
43-
"jupyterlite_sphinx",
4443
"sphinxext.rediraffe",
4544
"sphinx_sitemap",
4645
]
@@ -145,6 +144,7 @@ def setup(app):
145144
html_theme_options = {
146145
"show_nav_level": 2,
147146
"navbar_start": ["navbar-logo"],
147+
"search_bar_text": "Search within the PyMC blog...",
148148
}
149149
html_context = {
150150
"github_user": "pymc-devs",

requirements.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ ablog
66
sphinx-codeautolink
77
sphinxext-opengraph
88
sphinx-notfound-page
9-
jupyterlite-sphinx
10-
jupyterlite-pyodide-kernel
119
sphinxext-rediraffe
12-
pymc-sphinx-theme==0.14
10+
pymc-sphinx-theme>=0.16
1311
sphinx-sitemap

0 commit comments

Comments
 (0)