Browse Source

Correction de la configuration de l'extension "notfound"

master
Dimitri Merejkowsky 4 years ago
parent
commit
1abea43acf
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      cours/source/conf.py

+ 8
- 1
cours/source/conf.py View File

@@ -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"