提交 fb213e79 authored 作者: Olivier Breuleux's avatar Olivier Breuleux

fixed api root

上级 7f784990
......@@ -158,7 +158,7 @@ htmlhelp_basename = 'theanodoc'
# (source start file, target name, title, author, document class [howto/manual]).
latex_documents = [
('index', 'theano.tex', 'theano Documentation',
'Olivier Breuleux, James Bergstra', 'manual'),
'LISA lab', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
......
......@@ -62,7 +62,7 @@ def setup(app):
try:
xlink.set_api_file('api', os.path.join(app.outdir, 'api', 'api-objects.txt'))
xlink.set_api_root('api', os.path.join(app.outdir, 'api', ''))
xlink.set_api_root('api', os.path.join('..', 'api', ''))
#xlink.create_api_role('api', True)
create_api_role('api', True)
except IOError:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论