Skip to content

Commit 138d19b

Browse files
authored
fix intersphinx and 404 page (#27)
* fix intersphinx and 404 page * fix intersphinx
1 parent 5ec4dbb commit 138d19b

File tree

2 files changed

+22
-7
lines changed

2 files changed

+22
-7
lines changed

404.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
1-
Page not found
1+
---
2+
orphan: true
3+
---
4+
5+
# Page not found
6+
7+
**Sorry, we could not find this page**
8+
9+
Click on the navigation bar on top of the page to go to the right section
10+
of the default docs, or alternatively:
11+
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/)

conf.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,19 @@
6767

6868
intersphinx_mapping = {
6969
"aesara": ("https://aesara.readthedocs.io/en/latest/", None),
70-
"arviz": ("https://arviz-devs.github.io/arviz", None),
70+
"arviz": ("https://python.arviz.org/en/latest/", None),
7171
"bambi": ("https://bambinos.github.io/bambi/main", None),
72-
"mpl": ("https://matplotlib.org/", None),
72+
"mpl": ("https://matplotlib.org/stable/", None),
7373
"numpy": ("https://numpy.org/doc/stable/", None),
74-
"pymc": ("https://docs.pymc.io/en/stable", None),
75-
"nb": ("https://docs.pymc.io/projects/examples/en/latest/", None),
74+
"pymc": ("https://www.pymc.io/projects/docs/en/latest", None),
75+
"nb": ("https://www.pymc.io/projects/examples/en/latest/", None),
76+
"pmx": ("https://www.pymc.io/projects/experimental/en/latest/", None),
7677
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
77-
"xarray": ("https://xarray.pydata.org/en/stable/", None),
78+
"xarray": ("https://docs.xarray.dev/en/stable/", None),
7879
}
7980

8081
blog_baseurl = "https://pymc.io"
81-
blog_title = "Keeping up with PyMC"
82+
blog_title = "PyMC project website"
8283
blog_path = "blog"
8384
blog_authors = {
8485
"contributors": ("PyMC Contributors", "https://pymc.io"),
@@ -87,6 +88,8 @@
8788
blog_default_author = "contributors"
8889
fontawesome_included = True
8990

91+
notfound_urls_prefix = ""
92+
9093
rediraffe_redirects = {
9194
"index.md": "welcome.md",
9295
}

0 commit comments

Comments
 (0)