From 1abea43acf8694e214cae3ad57b6bee7b61f5828 Mon Sep 17 00:00:00 2001 From: Dimitri Merejkowsky Date: Sat, 19 Sep 2020 16:07:08 +0200 Subject: [PATCH] Correction de la configuration de l'extension "notfound" --- cours/source/conf.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cours/source/conf.py b/cours/source/conf.py index 6b8c88b..f4ecda8 100644 --- a/cours/source/conf.py +++ b/cours/source/conf.py @@ -9,7 +9,14 @@ templates_path = ["_templates"] exclude_patterns = [] keep_warnings = True -extensions = ["notfound.extension"] +extensions = [ + "notfound.extension", +] + +notfound_context = { + "title": "Page non trouvée", +} +notfound_urls_prefix = "/" html_show_sourcelink = False html_theme = "agogo"