Просмотр исходного кода

Correction de la configuration de l'extension "notfound"

master
Dimitri Merejkowsky 3 лет назад
Родитель
Сommit
1abea43acf
1 измененных файлов: 8 добавлений и 1 удалений
  1. +8
    -1
      cours/source/conf.py

+ 8
- 1
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"