On 11-07-2019 07:59, ttcceegg wrote: > Hi, > > I'm using a GitHub project to publish my documentation built by Sphinx. > > But as Sphinx and GitHub use different build folders > (Sphinx: */_build/html*, GitHub: */docs*), it bothersome for me to > *MANUALLY* move files from */_build/html* to */docs* at every update. > > I know that I can change the default output folder "_build" to another > one. > But still the problem persists because the resulting html file set is > not stored in the *docs* folder itself but in the subfolder /docs/html. > > Is there any way to prevent the subfolder "html" from being created? > > Untested idea:
Change directory ./_build/html into symbolic link ./_build/html pointing to ./docs Groeten Geert Stappers -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sphinx-users. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/ff9df1e0-fcf6-6d21-5394-0d3ef2e862d4%40hendrikx-itc.nl. For more options, visit https://groups.google.com/d/optout.
