浏览代码

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"