This behaviour is a regression due to changing the build directory to . in #104. We could try a different solution to that issue, for example building under a build/ directory and then moving build/html/ to docs/. In order for the same path to work locally, we can symlink docs -> build/html and then replace the symlink in CI (i.e. rm docs; mv build/html/ docs).
This is a pretty impressive footgun!
Do you recommend a solution?
This behaviour is a regression due to changing the build directory to
.
in #104. We could try a different solution to that issue, for example building under abuild/
directory and then movingbuild/html/
todocs/
. In order for the same path to work locally, we can symlinkdocs -> build/html
and then replace the symlink in CI (i.e.rm docs; mv build/html/ docs
).