Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dougburks authored Sep 1, 2023
1 parent 9d5e99d commit 64dd891
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,20 @@
('index', 'securityonion.tex', u'Security Onion Documentation',
u'', 'manual'),
]
extensions = [
'notfound.extension'
]

# sphinx-notfound-page
# https://github.com/readthedocs/sphinx-notfound-page
notfound_context = {
'title': 'Page Not Found',
'body': '''
<h1>Page Not Found</h1>
<p>Sorry, we couldn't find that page.</p>
<p>Try using the search box or go to the homepage.</p>
''',
}

###########################################################################
# auto-created readthedocs.org specific configuration #
Expand Down

0 comments on commit 64dd891

Please sign in to comment.