瀏覽代碼

Correction de la configuration de l'extension "notfound"

master
Dimitri Merejkowsky 4 年之前
父節點
當前提交
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"