Skip to content

Commit 2d6304d

Browse files
OriolAbriltwiecki
authored andcommitted
fix 404 and intersphinx
1 parent 88a0f43 commit 2d6304d

File tree

2 files changed

+7
-25
lines changed

2 files changed

+7
-25
lines changed

docs/source/404.md

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,8 @@ 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-
(you'll see the version switcher at the bottom right of the page).
30-
31-
Back to {{ '[documentation homepage](https://docs.pymc.io/en/{}/)'.format(version_slug) }}
12+
* Go to the current [PyMC website homepage](https://www.pymc.io/)
13+
* Go to the homepage of [PyMC 3.x documentation](https://www.pymc.io/projects/docs/en/v3/)

docs/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
language = None
128128

129129
# configure notfound extension to not add any prefix to the urls
130-
notfound_urls_prefix = "/en/latest/"
130+
notfound_urls_prefix = "/projects/docs/en/latest/"
131131

132132
# There are two options for replacing |today|: either, you set today to some
133133
# non-false value, then it is used:
@@ -189,9 +189,9 @@
189189
"aesara": ("https://aesara.readthedocs.io/en/latest/", None),
190190
"aeppl": ("https://aeppl.readthedocs.io/en/latest/", None),
191191
"home": ("https://www.pymc.io", None),
192-
"pmx": ("https://docs.pymc.io/projects/experimental/en/latest", None),
192+
"pmx": ("https://www.pymc.io/projects/experimental/en/latest", None),
193193
"numpy": ("https://numpy.org/doc/stable/", None),
194-
"nb": ("https://docs.pymc.io/projects/examples/en/latest/", None),
194+
"nb": ("https://www.pymc.io/projects/examples/en/latest/", None),
195195
"myst": ("https://myst-parser.readthedocs.io/en/latest", None),
196196
"myst-nb": ("https://myst-nb.readthedocs.io/en/latest/", None),
197197
"python": ("https://docs.python.org/3/", None),

0 commit comments

Comments
 (0)