From 39b1b4880065b6fb1f7561a75bdb16ca37c49603 Mon Sep 17 00:00:00 2001 From: rebortg Date: Sat, 18 Jul 2020 14:49:28 +0200 Subject: 404: catch page not found error --- docs/404.rst | 10 ++++++++++ docs/conf.py | 1 + 2 files changed, 11 insertions(+) create mode 100644 docs/404.rst (limited to 'docs') diff --git a/docs/404.rst b/docs/404.rst new file mode 100644 index 00000000..85444615 --- /dev/null +++ b/docs/404.rst @@ -0,0 +1,10 @@ +:orphan: + +Page Not Found +============== + +Sorry, We could not find a page. +Try using the search box or go to the release homepage: + + * `1.2.x (crux) `_ + * `rolling release (equuleus) `_ \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index b63d4a03..bb32aa33 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -44,6 +44,7 @@ extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.ifconfig', 'sphinx.ext.graphviz', + 'notfound.extension', 'vyos' ] -- cgit v1.2.3