File tree Expand file tree Collapse file tree 9 files changed +73
-37
lines changed Expand file tree Collapse file tree 9 files changed +73
-37
lines changed Original file line number Diff line number Diff line change 38
38
hooks :
39
39
- id : no-print-statements
40
40
files : ^pymc3/
41
+ - id : conda-env-sorter
42
+ files : ^conda-envs/environment-dev-py.+\.yml$
41
43
- repo : local
42
44
hooks :
43
45
- id : check-no-tests-are-ignored
@@ -47,13 +49,6 @@ repos:
47
49
language : python
48
50
name : Check no tests are ignored
49
51
pass_filenames : false
50
- - id : conda-env-sort
51
- additional_dependencies : [pyyaml]
52
- entry : python scripts/sort_conda_envs.py
53
- files : ^conda-envs/environment-dev-py37\.yml$
54
- language : python
55
- name : Sort dependencies in conda envs
56
- types : [yaml]
57
52
- id : pip-from-conda
58
53
additional_dependencies : [pyyaml]
59
54
entry : python scripts/generate_pip_deps_from_conda.py
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ dependencies:
13
13
- libblas=*=*mkl
14
14
- mkl-service
15
15
- myst-nb
16
- - numpy=1.15
16
+ - numpy> =1.15
17
17
- numpydoc>=0.9
18
- - pandas=0.24
18
+ - pandas> =0.24
19
19
- pre-commit>=2.8.0
20
20
- pydata-sphinx-theme
21
21
- pytest-cov>=2.5
@@ -25,7 +25,10 @@ dependencies:
25
25
- recommonmark>=0.4
26
26
- scipy>1.4.1
27
27
- sphinx-autobuild>=0.7
28
+ - sphinx-notfound-page
28
29
- sphinx-panels
29
30
- sphinx>=1.5
30
31
- typing-extensions
31
32
- watermark
33
+ - pip :
34
+ - sphinx-design
Original file line number Diff line number Diff line change @@ -13,10 +13,9 @@ dependencies:
13
13
- libblas=*=*mkl
14
14
- mkl-service
15
15
- myst-nb
16
- - nbsphinx>=0.4
17
16
- numpy>=1.15.0
18
17
- numpydoc>=0.9
19
- - pandas
18
+ - pandas>=0.24.0
20
19
- pre-commit>=2.8.0
21
20
- pydata-sphinx-theme
22
21
- pytest-cov>=2.5
@@ -26,7 +25,10 @@ dependencies:
26
25
- recommonmark>=0.4
27
26
- scipy>1.4.1
28
27
- sphinx-autobuild>=0.7
28
+ - sphinx-notfound-page
29
29
- sphinx-panels
30
30
- sphinx>=1.5
31
31
- typing-extensions>=3.7.4
32
32
- watermark
33
+ - pip :
34
+ - sphinx-design
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ dependencies:
13
13
- libblas=*=*mkl
14
14
- mkl-service
15
15
- myst-nb
16
- - nbsphinx>=0.4
17
16
- numpy>=1.15.0
18
17
- numpydoc>=0.9
19
18
- pandas>=0.24.0
@@ -26,7 +25,10 @@ dependencies:
26
25
- recommonmark>=0.4
27
26
- scipy>1.4.1
28
27
- sphinx-autobuild>=0.7
28
+ - sphinx-notfound-page
29
29
- sphinx-panels
30
30
- sphinx>=1.5
31
31
- typing-extensions>=3.7.4
32
32
- watermark
33
+ - pip :
34
+ - sphinx-design
Original file line number Diff line number Diff line change @@ -24,14 +24,16 @@ dependencies:
24
24
# Extra stuff for dev, testing and docs build
25
25
- ipython>=7.16
26
26
- myst-nb
27
- - nbsphinx>=0.4
28
27
- numpydoc>=0.9
29
28
- pre-commit>=2.8.0
30
29
- pydata-sphinx-theme
31
30
- pytest-cov>=2.5
32
31
- pytest>=3.0
33
32
- recommonmark>=0.4
34
33
- sphinx-autobuild>=0.7
34
+ - sphinx-notfound-page
35
35
- sphinx-panels
36
36
- sphinx>=1.5
37
37
- watermark
38
+ - pip :
39
+ - sphinx-design
Original file line number Diff line number Diff line change
1
+ ---
2
+ orphan : true
3
+ ---
4
+
5
+ # Page not found
6
+
7
+ ** Sorry, we could not find this page**
8
+
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...
12
+
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
+ (you'll see the version switcher at the bottom right of the page).
30
+
31
+ ::::{grid} 3
32
+ :::{grid-item}
33
+ :::
34
+ :::{grid-item}
35
+ ``` {button-link} https://docs.pymc.io/en/stable/
36
+ :color: primary
37
+ :expand:
38
+
39
+ Back to stable version documentation
40
+ ```
41
+ :::
42
+ :::{grid-item}
43
+ :::
44
+ ::::
Original file line number Diff line number Diff line change 49
49
"sphinx.ext.napoleon" ,
50
50
"gallery_generator" ,
51
51
"myst_nb" ,
52
+ "sphinx_design" ,
52
53
"sphinx_panels" ,
54
+ "notfound.extension" ,
53
55
]
54
56
55
57
# Don't auto-generate summary for class members.
83
85
# The version info for the project you're documenting, acts as replacement for
84
86
# |version| and |release|, also used in various other places throughout the
85
87
# built documents.
86
- #
87
- # The short X.Y version.
88
+
88
89
version = pymc .__version__
90
+ if os .environ .get ("READTHEDOCS" , False ):
91
+ rtd_version = os .environ .get ("READTHEDOCS_VERSION" , "" )
92
+ if "." not in rtd_version and rtd_version .lower () != "stable" :
93
+ version = "dev"
89
94
# The full version, including alpha/beta/rc tags.
90
95
release = version
91
96
96
101
# Usually you set "language" from the command line for these cases.
97
102
language = None
98
103
104
+ # configure notfound extension to not add any prefix to the urls
105
+ notfound_urls_prefix = "/en/latest/"
106
+
99
107
# There are two options for replacing |today|: either, you set today to some
100
108
# non-false value, then it is used:
101
109
# today = ''
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ fastprogress>=0.2.0
9
9
h5py >= 2.7
10
10
ipython >= 7.16
11
11
myst-nb
12
- nbsphinx >= 0.4
13
12
numpy >= 1.15.0
14
13
numpydoc >= 0.9
15
14
pandas >= 0.24.0
@@ -20,6 +19,8 @@ pytest>=3.0
20
19
recommonmark >= 0.4
21
20
scipy > 1.4.1
22
21
sphinx-autobuild >= 0.7
22
+ sphinx-design
23
+ sphinx-notfound-page
23
24
sphinx-panels
24
25
sphinx >= 1.5
25
26
typing-extensions >= 3.7.4
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments