如何更改html页面路径狮身人面
我使用狮身人面像编写文档。
现在页面路径为“文件夹/html/”。我想用“文件夹/”替换它。我试图改变builddir,但这无济于事。
怎么做?我使用窗户
I write documentation using Sphinx.
Now pages path is "folder/html/". I want to replace it with "folder/" . I tried to change BUILDDIR, but it did't help.
How to do it? I use windows
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在makefile中替换参数
-m
用-b
替换为bat。运行
sphinx-build
使用-b
选项,输出目录是您设置的。使用
-M
选项时,它的工作原理不完全相同。总是添加“ HTML”子目录(builderName)。请参阅此错误报告: https://github.com/sphinx-doc/sphinx-doc/sphinx/issues/sphinx/issues/ 6896 。Replace parameter
-M
in Makefile and make.bat with-b
.Details
When running
sphinx-build
with the-b
option, the output directory is what you set it to be.When using the
-M
option, it does not work exactly the same. The "html" subdirectory (the buildername) is always added. See this bug report: https://github.com/sphinx-doc/sphinx/issues/6896.