Skip to content

Update theme #792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,24 @@ build:
python:
install:
- requirements: requirements-docs.txt

search:
ranking:
_sources/*: -10
genindex.html: -9
blog/tag/*: -2
blog/category/*: -3
blog/author/*: -5
blog/20[0-9].html: -5
blog/archive.html: -5
blog/author.html: -5
blog/category.html: -5
blog/drafts.html: -5
blog/tag.html: -5
blog.html: -5
object_index/*: -1

ignore:
- 404.html
- search.html
- index.html
8 changes: 8 additions & 0 deletions examples/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ def setup(app: Sphinx):
"article_header_end": ["nb-badges"],
"show_prev_next": True,
"article_footer_items": ["rendered_citation.html"],
"search_bar_text": "Search within the PyMC example gallery...",
"icon_links": [
{
"url": "https://github.com/pymc-devs/pymc-examples",
"icon": "fa-brands fa-github",
"name": "GitHub",
},
],
}
version = version if "." in rtd_version else "main"
doi_code = os.environ.get("DOI_READTHEDOCS", "10.5281/zenodo.5654871")
Expand Down
2 changes: 1 addition & 1 deletion requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ matplotlib
myst-nb
sphinx-codeautolink
sphinx>=5
pymc-sphinx-theme
pymc-sphinx-theme>=0.16
sphinx-copybutton
sphinx-design
sphinx-notfound-page
Expand Down