Closed Newbytee closed 3 years ago
Hm, I don't think it's a good idea to put build output in source folder. Can you place it in /html
?
Hm, I don't think it's a good idea to put build output in source folder. Can you place it in
/html
?
Actually, should we keep build output in the repository at all? We could use something like https://readthedocs.org/ to host it.
I set the docs' build directory to be /build, so if you build the docs in html format they will be outputted to /build/html. I also added /build to gitignore.
Actually, should we keep build output in the repository at all? We could use something like https://readthedocs.org/ to host it.
Github Pages can host it just as nicely and it's one less external service provider that has to be dealt with.
I set the docs' build directory to be /build, so if you build the docs in html format they will be outputted to /build/html. I also added /build to gitignore.
Can you change it to just html
? There's no need for the build
prefix IMHO.
Actually, should we keep build output in the repository at all? We could use something like https://readthedocs.org/ to host it.
Github Pages can host it just as nicely and it's one less external service provider that has to be dealt with.
Good point. I hadn't thought of that.
I set the docs' build directory to be /build, so if you build the docs in html format they will be outputted to /build/html. I also added /build to gitignore.
Can you change it to just
html
? There's no need for thebuild
prefix IMHO.
I'm not sure how I would do this. Currently the build directory is set to /build
, but as Sphinx supports generating docs in other formats than HTML it puts the HTML ones in a subdirectory of /build
. I could, of course, make it part of the Makefile to move the docs back down into build and delete the subdirectory, but that feels ugly.
I gitignore'd build/doctrees and pushed the built docs in build/html
I'm not sure how I would do this. Currently the build directory is set to /build, but as Sphinx supports generating docs in other formats than HTML it puts the HTML ones in a subdirectory of /build.
Setting build output location to "./" or "" can't be done with Sphinx?
I'm not sure how I would do this. Currently the build directory is set to /build, but as Sphinx supports generating docs in other formats than HTML it puts the HTML ones in a subdirectory of /build.
Setting build output location to "./" or "" can't be done with Sphinx?
I somehow didn't think of that. Done, thanks.
Hello @Newbytee , @muscache and @username223 , Thank you very much for your pull requests! For receiving the free PineCone, please sign up at this link. (If there will be any issues with signing up, please let me know here).
See https://github.com/pine64/bl_iot_sdk/pull/5 for original PR. Note that the zh directory currently just contains the old docs and the en directory contains the self-built docs, not any actual English docs. I leave that for another PR.