dkagramanyan
dkagramanyan

Reputation: 103

How to change html pages path sphinx

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

Upvotes: 1

Views: 1124

Answers (1)

dkagramanyan
dkagramanyan

Reputation: 103

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.

Upvotes: 5

Related Questions