Skip to content

Commit 1446f1b

Browse files
committed
🔧 Add notfound extension
1 parent 758b232 commit 1446f1b

File tree

3 files changed

+20
-10
lines changed

3 files changed

+20
-10
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+
Seite nicht gefunden
3+
====================
4+
5+
Diese Seite ist möglicherweise verschoben worden.
6+
7+
Bitte wählt eine Seite aus dem Seitenmenü oder besucht unsere Homepage unter
8+
https://www.python4data.science/de/latest/.

docs/conf.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,18 @@
4848
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
4949
# ones.
5050
extensions = [
51-
"nbsphinx",
5251
"IPython.sphinxext.ipython_console_highlighting",
53-
# 'jupyter_sphinx.execute',
52+
# "jupyter_sphinx.execute",
53+
"nbsphinx",
54+
"notfound.extension",
5455
"sphinx.ext.autodoc",
55-
"sphinx.ext.intersphinx",
5656
"sphinx.ext.graphviz",
57+
"sphinx.ext.intersphinx",
5758
"sphinx.ext.todo",
58-
"sphinxcontrib.cairosvgconverter",
59-
"sphinxext.opengraph",
6059
"sphinx_copybutton",
6160
"sphinx_inline_tabs",
61+
"sphinxcontrib.cairosvgconverter",
62+
"sphinxext.opengraph",
6263
]
6364

6465
# 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
@@ -20,18 +20,19 @@ dependencies = []
2020

2121
[project.optional-dependencies]
2222
docs = [
23-
"sphinx<8.2",
2423
"furo",
2524
"ipython",
2625
"ipywidgets",
26+
"matplotlib",
2727
"nbsphinx",
2828
"notebook",
29-
"sphinxcontrib-svg2pdfconverter",
30-
"sphinxext.opengraph", # matplotlib is required for social cards
31-
"matplotlib",
29+
"sphinx<8.2",
3230
"sphinx-copybutton",
33-
"sphinx_inline_tabs",
3431
"sphinx-lint",
32+
"sphinx-notfound-page",
33+
"sphinx_inline_tabs",
34+
"sphinxcontrib-svg2pdfconverter",
35+
"sphinxext.opengraph", # matplotlib is required for social cards
3536
]
3637

3738
dev = [

0 commit comments

Comments
 (0)