Skip to content

Commit 8e84ef6

Browse files
authored
Maintenance (#556)
* add rtd preview link to PR description * update myst substitution metadata * run pre-commit
1 parent eb1ef79 commit 8e84ef6

18 files changed

+65
-32
lines changed
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Read the Docs Pull Request Preview
2+
on:
3+
pull_request_target:
4+
types:
5+
- opened
6+
7+
permissions:
8+
pull-requests: write
9+
10+
jobs:
11+
documentation-links:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: readthedocs/actions/preview@v1
15+
with:
16+
project-slug: "pymc-examples"

.jupytext.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
notebook_metadata_filter = "substitutions,-jupytext.text_representation.jupytext_version"
1+
notebook_metadata_filter = "myst,-jupytext.text_representation.jupytext_version"
22
formats = ["ipynb", ".myst.md:myst"]

examples/case_studies/conditional_autoregressive_priors.myst.md

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ kernelspec:
88
display_name: Python [conda env:spatial_pymc_env]
99
language: python
1010
name: conda-env-spatial_pymc_env-py
11+
myst:
12+
substitutions:
13+
extra_dependencies: geopandas libpysal
1114
---
1215

1316
+++ {"tags": []}

examples/case_studies/factor_analysis.ipynb

+4-2
Original file line numberDiff line numberDiff line change
@@ -837,8 +837,10 @@
837837
"pygments_lexer": "ipython3",
838838
"version": "3.9.10"
839839
},
840-
"substitutions": {
841-
"extra_dependencies": "seaborn xarray-einstats"
840+
"myst": {
841+
"substitutions": {
842+
"extra_dependencies": "seaborn"
843+
}
842844
}
843845
},
844846
"nbformat": 4,

examples/case_studies/factor_analysis.myst.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ kernelspec:
99
display_name: Python 3 (ipykernel)
1010
language: python
1111
name: python3
12-
substitutions:
13-
extra_dependencies: seaborn xarray-einstats
12+
myst:
13+
substitutions:
14+
extra_dependencies: seaborn
1415
---
1516

1617
(factor_analysis)=

examples/case_studies/putting_workflow.ipynb

-4
Original file line numberDiff line numberDiff line change
@@ -1667,10 +1667,6 @@
16671667
"pygments_lexer": "ipython3",
16681668
"version": "3.10.9"
16691669
},
1670-
"substitutions": {
1671-
"conda_dependencies": "!!xarray-einstats not available!!",
1672-
"pip_dependencies": "xarray-einstats"
1673-
},
16741670
"vscode": {
16751671
"interpreter": {
16761672
"hash": "087adf61916f8b9a562e3919cc7201fe0599d07c87f54bc57443476208d67f09"

examples/case_studies/putting_workflow.myst.md

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ kernelspec:
88
display_name: pymc_env
99
language: python
1010
name: python3
11-
substitutions:
12-
conda_dependencies: '!!xarray-einstats not available!!'
13-
pip_dependencies: xarray-einstats
1411
---
1512

1613
(putting_workflow)=

examples/case_studies/reliability_and_calibrated_prediction.ipynb

+4-2
Original file line numberDiff line numberDiff line change
@@ -8048,8 +8048,10 @@
80488048
"pygments_lexer": "ipython3",
80498049
"version": "3.10.8"
80508050
},
8051-
"substitutions": {
8052-
"extra_dependencies": "lifelines"
8051+
"myst": {
8052+
"substitutions": {
8053+
"extra_dependencies": "lifelines"
8054+
}
80538055
}
80548056
},
80558057
"nbformat": 4,

examples/case_studies/reliability_and_calibrated_prediction.myst.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ kernelspec:
88
display_name: Python 3 (ipykernel)
99
language: python
1010
name: python3
11-
substitutions:
12-
extra_dependencies: lifelines
11+
myst:
12+
substitutions:
13+
extra_dependencies: lifelines
1314
---
1415

1516
(Reliability Statistics and Predictive Calibration)=

examples/case_studies/rugby_analytics.ipynb

+4-2
Original file line numberDiff line numberDiff line change
@@ -2898,8 +2898,10 @@
28982898
"pygments_lexer": "ipython3",
28992899
"version": "3.9.10"
29002900
},
2901-
"substitutions": {
2902-
"extra_dependencies": "seaborn numba xarray-einstats"
2901+
"myst": {
2902+
"substitutions": {
2903+
"extra_dependencies": "seaborn numba"
2904+
}
29032905
}
29042906
},
29052907
"nbformat": 4,

examples/case_studies/rugby_analytics.myst.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ kernelspec:
88
display_name: Python 3 (ipykernel)
99
language: python
1010
name: python3
11-
substitutions:
12-
extra_dependencies: seaborn numba xarray-einstats
11+
myst:
12+
substitutions:
13+
extra_dependencies: seaborn numba
1314
---
1415

1516
# A Hierarchical model for Rugby prediction

examples/case_studies/wrapping_jax_function.ipynb

+4-2
Original file line numberDiff line numberDiff line change
@@ -1641,8 +1641,10 @@
16411641
"pygments_lexer": "ipython3",
16421642
"version": "3.10.2"
16431643
},
1644-
"substitutions": {
1645-
"extra_dependencies": "jax numpyro"
1644+
"myst": {
1645+
"substitutions": {
1646+
"extra_dependencies": "jax numpyro"
1647+
}
16461648
},
16471649
"toc": {
16481650
"base_numbering": 1,

examples/case_studies/wrapping_jax_function.myst.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ kernelspec:
88
display_name: pymc-examples
99
language: python
1010
name: pymc-examples
11-
substitutions:
12-
extra_dependencies: jax numpyro
11+
myst:
12+
substitutions:
13+
extra_dependencies: jax numpyro
1314
---
1415

1516
(wrapping_jax_function)=

examples/causal_inference/interventional_distribution.myst.md

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ kernelspec:
99
display_name: pymc_env
1010
language: python
1111
name: pymc_env
12+
myst:
13+
substitutions:
14+
extra_dependencies: daft pymc_experimental
1215
---
1316

1417
+++ {"editable": true, "slideshow": {"slide_type": ""}, "tags": []}

examples/gaussian_processes/GP-MaunaLoa.ipynb

+4-2
Original file line numberDiff line numberDiff line change
@@ -1710,8 +1710,10 @@
17101710
"pygments_lexer": "ipython3",
17111711
"version": "3.9.5"
17121712
},
1713-
"substitutions": {
1714-
"extra_dependencies": "bokeh"
1713+
"myst": {
1714+
"substitutions": {
1715+
"extra_dependencies": "bokeh"
1716+
}
17151717
}
17161718
},
17171719
"nbformat": 4,

examples/gaussian_processes/GP-MaunaLoa.myst.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ kernelspec:
88
display_name: Python 3
99
language: python
1010
name: python3
11-
substitutions:
12-
extra_dependencies: bokeh
11+
myst:
12+
substitutions:
13+
extra_dependencies: bokeh
1314
---
1415

1516
(GP-MaunaLoa)=

examples/generalized_linear_models/GLM-robust-with-outlier-detection.ipynb

+4-2
Original file line numberDiff line numberDiff line change
@@ -1895,8 +1895,10 @@
18951895
"pygments_lexer": "ipython3",
18961896
"version": "3.10.9"
18971897
},
1898-
"substitutions": {
1899-
"extra_dependencies": "seaborn"
1898+
"myst": {
1899+
"substitutions": {
1900+
"extra_dependencies": "seaborn"
1901+
}
19001902
},
19011903
"toc-autonumbering": false,
19021904
"toc-showcode": false,

examples/generalized_linear_models/GLM-robust-with-outlier-detection.myst.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ kernelspec:
88
display_name: pymc_env
99
language: python
1010
name: python3
11-
substitutions:
12-
extra_dependencies: seaborn
11+
myst:
12+
substitutions:
13+
extra_dependencies: seaborn
1314
---
1415

1516
(GLM-robust-with-outlier-detection)=

0 commit comments

Comments
 (0)