如何更改html页面路径狮身人面

发布于 2025-01-21 13:35:07 字数 98 浏览 1 评论 0原文

我使用狮身人面像编写文档。

现在页面路径为“文件夹/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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

错爱 2025-01-28 13:35:07

在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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文