Skip to content
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
16 changes: 14 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,25 @@ sphinx:
configuration: docs/conf.py

build:
os: ubuntu-20.04
os: ubuntu-24.04
tools:
python: "3.10"
python: "3.12"

python:
install:
- requirements: requirements-docs.txt
- requirements: requirements.txt
- method: pip
path: .

search:
ranking:
_sources/*: -10
_modules/*: -5
genindex.html: -9

ignore:
- 404.html
- search.html
- index.html
- 'examples/*'
30 changes: 1 addition & 29 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"sphinx_design",
"sphinxcontrib.bibtex",
"sphinx_codeautolink",
"sphinx_remove_toctrees",
]

# List of patterns, relative to source directory, that match files and
Expand Down Expand Up @@ -73,24 +72,14 @@
html_theme = "pymc_sphinx_theme"
html_theme_options = {
"secondary_sidebar_items": ["page-toc", "edit-this-page", "sourcelink", "donate"],
"search_bar_text": "Search within PyMC-BART...",
"navbar_start": ["navbar-logo"],
"icon_links": [
{
"url": "https://github.com/pymc-devs/pymc-bart",
"icon": "fa-brands fa-github",
"name": "GitHub",
},
{
"url": "https://twitter.com/pymc_devs/",
"icon": "fa-brands fa-twitter",
"name": "Twitter",
},
{
"url": "https://www.youtube.com/c/PyMCDevelopers",
"icon": "fa-brands fa-youtube",
"name": "YouTube",
},
{"url": "https://discourse.pymc.io", "icon": "fa-brands fa-discourse", "name": "Discourse"},
],
}

Expand Down Expand Up @@ -144,23 +133,6 @@
nb_execution_mode = "off"


remove_from_toctrees = [
"BART/*",
"case_studies/*",
"causal_inference/*",
"diagnostics_and_criticism/*",
"gaussian_processes/*",
"generalized_linear_models/*",
"mixture_models/*",
"ode_models/*",
"howto/*",
"samplers/*",
"splines/*",
"survival_analysis/*",
"time_series/*",
"variational_inference/*",
]

# bibtex config
bibtex_bibfiles = ["references.bib"]
bibtex_default_style = "unsrt"
Expand Down
6 changes: 2 additions & 4 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
myst-nb
sphinx==5.0.2 # see https://github.com/pymc-devs/pymc-examples/issues/409
git+https://github.com/pymc-devs/pymc-sphinx-theme
sphinx
pymc-sphinx-theme>=0.16
sphinxcontrib-bibtex
nbsphinx
sphinx_design
sphinx_codeautolink
sphinx_remove_toctrees