Skip to content

Commit 398b122

Browse files
committed
🔧 Add notfound extension
1 parent 139b8cd commit 398b122

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

docs/404.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
==============
2+
Page not found
3+
==============
4+
5+
This page may have been moved.
6+
7+
Please select a page from the side menu or visit our homepage at
8+
https://pyviz-tutorial.readthedocs.io/en/latest/.

docs/conf.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,15 @@
4141
# ones.
4242
extensions = [
4343
"nbsphinx",
44+
"notfound.extension",
4445
"sphinx.ext.autodoc",
45-
"sphinx.ext.intersphinx",
4646
"sphinx.ext.graphviz",
47+
"sphinx.ext.intersphinx",
4748
"sphinx.ext.todo",
48-
"sphinxcontrib.rsvgconverter",
49-
"sphinxext.opengraph",
5049
"sphinx_copybutton",
5150
"sphinx_inline_tabs",
51+
"sphinxcontrib.rsvgconverter",
52+
"sphinxext.opengraph",
5253
]
5354

5455
# Add any paths that contain templates here, relative to this directory.

pyproject.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,18 @@ dependencies = []
1616

1717
[project.optional-dependencies]
1818
docs = [
19-
"sphinx<8.2",
2019
"furo",
2120
"ipython",
2221
"ipywidgets",
23-
"nbsphinx",
24-
"sphinxext.opengraph", # matplotlib is required for social cards
2522
"matplotlib",
26-
"sphinx_copybutton",
23+
"nbsphinx",
24+
"sphinx<8.2",
2725
"sphinx-inline-tabs",
28-
"sphinxcontrib-svg2pdfconverter",
2926
"sphinx-lint",
27+
"sphinx-notfound-page",
28+
"sphinx_copybutton",
29+
"sphinxcontrib-svg2pdfconverter",
30+
"sphinxext.opengraph", # matplotlib is required for social cards
3031
]
3132

3233
dev = [

0 commit comments

Comments
 (0)