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
Lines changed: 16 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 0 deletions
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

Lines changed: 4 additions & 2 deletions
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

Lines changed: 3 additions & 2 deletions
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

Lines changed: 0 additions & 4 deletions
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

Lines changed: 0 additions & 3 deletions
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

Lines changed: 4 additions & 2 deletions
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

Lines changed: 3 additions & 2 deletions
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

Lines changed: 4 additions & 2 deletions
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,

0 commit comments

Comments
 (0)