agi*_*liq 6 python documentation python-sphinx
我正在使用狮身人面像.我想模板化它.所以在阅读完文档后,我正在尝试的是,在我的conf.py中,
我放了一条线,
templates_path = ['_templates']
Run Code Online (Sandbox Code Playgroud)
我创建了一个文件
_templates/page.html
Run Code Online (Sandbox Code Playgroud)
但这并不会覆盖sphinx提供的默认模板.我还应该做些什么,这个模板需要去哪里?
编辑:
评论中的目录结构:
conf.py
abc.txt
def.txt
makefile
_templates\
page.html
Run Code Online (Sandbox Code Playgroud)