You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually not vice-versa because that leads to a redirect loop, so HTML -> HTMLDir is the only option (just need to check if anything breaks if the build type is changed).
OK, I went ahead and went with my quick fix to build the docs using the HTMLDir builder and then setting up a redirect from HTML -> HTMLDir and everything seems to work!
Activity
brettcannon commentedon Jun 22, 2017
If you look from http://cpython-devguide.readthedocs.io you discover the URL should be http://cpython-devguide.readthedocs.io/setup.html#setup and that's actually what the page on devguide.python.org has. So my suspicion is theres a URL rewrite rule that was misconfigured. I've emailed Mark about this (on my phone so no @ completion to mention him on this issue).
brettcannon commentedon Jun 22, 2017
Looks like if we can't get this easily fixed we can turn on Sphinx HTMLDir building on RTD: builders.html#sphinx.builders.html.DirectoryHTMLBuilder. We could then turn on redirects from HTML to HTMLDir: http://docs.readthedocs.io/en/latest/user-defined-redirects.html#sphinx-redirects (or vice-versa).
brettcannon commentedon Jun 22, 2017
Actually not vice-versa because that leads to a redirect loop, so HTML -> HTMLDir is the only option (just need to check if anything breaks if the build type is changed).
brettcannon commentedon Jun 22, 2017
OK, I went ahead and went with my quick fix to build the docs using the HTMLDir builder and then setting up a redirect from HTML -> HTMLDir and everything seems to work!
@MarkMangoba