Skip to content

Commit 287de21

Browse files
author
Chris Fonnesbeck
committed
Merge remote-tracking branch 'upstream/main'
2 parents 4ad5e16 + c90e91e commit 287de21

File tree

185 files changed

+15063
-20606
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+15063
-20606
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55

66
_build
77
jupyter_execute
8+
_thumbnails

.pre-commit-config.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
|examples/gaussian_processes/GP-Latent\.ipynb$
3030
|examples/gaussian_processes/GP-MaunaLoa2\.ipynb$
3131
|examples/samplers/MLDA_gravity_surveying\.ipynb$
32-
|examples/pymc3_howto/sampling_callback\.ipynb$
32+
|examples/howto/sampling_callback\.ipynb$
3333
|examples/case_studies/blackbox_external_likelihood\.ipynb$
3434
|examples/samplers/GLM-hierarchical-jax\.ipynb$
3535
|examples/variational_inference/convolutional_vae_keras_advi\.ipynb$
@@ -45,7 +45,6 @@ repos:
4545
- id: bibtex-tidy
4646
files: examples/references.bib
4747
args: ["--sort=key", --quiet]
48-
language_version: 15.14.0
4948
- repo: local
5049
hooks:
5150
- id: watermark
@@ -69,7 +68,6 @@ repos:
6968
examples/case_studies/blackbox_external_likelihood.ipynb|
7069
examples/case_studies/blackbox_external_likelihood_numpy.ipynb|
7170
examples/case_studies/item_response_nba.ipynb|
72-
examples/case_studies/multilevel_modeling.ipynb|
7371
examples/diagnostics_and_criticism/sampler-stats.ipynb|
7472
examples/gaussian_processes/GP-MaunaLoa2.ipynb|
7573
examples/generalized_linear_models/GLM-logistic.ipynb|
@@ -78,7 +76,7 @@ repos:
7876
examples/generalized_linear_models/GLM-robust.ipynb|
7977
examples/generalized_linear_models/GLM-rolling-regression.ipynb|
8078
examples/generalized_linear_models/GLM-simpsons-paradox.ipynb|
81-
examples/pymc3_howto/api_quickstart.ipynb|
79+
examples/howto/api_quickstart.ipynb|
8280
examples/samplers/MLDA_gravity_surveying.ipynb|
8381
examples/samplers/MLDA_simple_linear_regression.ipynb|
8482
examples/samplers/SMC-ABC_Lotka-Volterra_example.ipynb|
@@ -105,3 +103,9 @@ repos:
105103
- id: jupytext
106104
files: ^examples/.+\.ipynb$
107105
args: ["--sync"]
106+
- repo: https://github.com/codespell-project/codespell
107+
rev: v2.1.0
108+
hooks:
109+
- id: codespell
110+
files: myst_nbs/
111+
args: ["--write-changes", "--ignore-words-list", "hist,fpr,fro,lik", "--uri-ignore-words-list", "*"]

.readthedocs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,3 @@ python:
77
version: "3.8"
88
install:
99
- requirements: requirements-docs.txt
10-
- method: pip
11-
path: .

_static/custom.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,11 @@
1111
.bd-sidebar {
1212
overflow-y: auto;
1313
}
14+
15+
.navbar-brand {
16+
display: inline-block !important;
17+
}
18+
19+
.supportbutton a {
20+
color: var(--pst-color-sidebar-link-active);
21+
}

_templates/donate.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{% if "generated" in sourcename %}
2+
<div class="tocsection editthispage">
3+
{% else %}
4+
<div class="tocsection supportbutton">
5+
{% endif %}
6+
<a href="https://numfocus.org/donate-to-pymc3">
7+
<i class="far fa-heart"></i> {{ _("Support PyMC") }}
8+
</a>
9+
</div>

_templates/search-field.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<form class="bd-search d-flex align-items-center" action="https://www.pymc.io/search.html" method="get">
2+
<i class="icon fas fa-search"></i>
3+
<input type="search" class="form-control" name="q" id="search-input" placeholder="{{ _(theme_search_bar_text) }}" aria-label="{{ theme_search_bar_text }}" autocomplete="off" >
4+
</form>

_thumbnails/thumbnails/README.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Thumbnails will automatically be generated an placed in this directory by the thumbnail_extractor.py script.

examples/404.md

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -6,39 +6,9 @@ orphan: true
66

77
**Sorry, we could not find this page**
88

9-
We are working on the next major release for PyMC,
10-
which will come with faster sampling, more flexible
11-
model building, multiple computational backends...
9+
Click on the navigation bar on top of the page to go to the right section
10+
of the default docs, or alternatively:
1211

13-
::::{grid} 3
14-
:::{grid-item}
15-
![old banner](https://raw.githubusercontent.com/pymc-devs/pymc/v3/docs/logos/svg/PyMC3_banner.svg)
16-
:::
17-
:::{grid-item}
18-
:class: text-center
19-
{fas}`arrow-alt-circle-right;fa-5x`
20-
:::
21-
:::{grid-item}
22-
![new banner](https://raw.githubusercontent.com/pymc-devs/pymc/main/docs/logos/svg/PyMC_banner.svg)
23-
:::
24-
::::
25-
26-
...and much better documentation too! However, to
27-
do so we have moved some files around and we have
28-
modified the base url in order to support multi version docs
29-
and better rendering and cross-referencing for notebooks.
30-
31-
::::{grid} 3
32-
:::{grid-item}
33-
:::
34-
:::{grid-item}
35-
```{button-link} https://docs.pymc.io/projects/examples/en/latest/
36-
:color: primary
37-
:expand:
38-
39-
Back to example gallery homepage
40-
```
41-
:::
42-
:::{grid-item}
43-
:::
44-
::::
12+
* Go to the current [PyMC example gallery homepage](https://www.pymc.io/projects/examples/en/latest/)
13+
* Go to the PyMC3 3.x snapshot of the [PyMC example gallery](https://www.pymc.io/projects/examples/en/2022.01.0/)
14+
(also available for each page from the version switcher at the bottom right of the page)

examples/BART/BART_introduction.ipynb

Lines changed: 0 additions & 591 deletions
This file was deleted.

examples/blog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
orphan: true
3+
---
4+
15
# Recent updates
26

37
<!-- auto generated by ablog so it's empty -->

0 commit comments

Comments
 (0)