It sounds like the exclude_patterns config option should work for your use case, but...be sure not to make the mistake I made, here: https://groups.google.com/g/sphinx-users/c/M7Slj3ajYjU/m/T-PDdmqmBgAJ
exclude_patterns = ['**/ipsum'] On Friday, May 13, 2022 at 9:59:42 AM UTC-4 j...@midokura.com wrote: > Using sphinx_rdt_theme from Read the Docs I have a company-private repo > structure that looks something like this: > > docu/source/ > - lorem/ > - ipsum/ > - dolor/ > > Let's say that the content in the ipsum/ folder isn't ready for > publication yet and the team are still working on it. > > So I want to push a build to the customer-facing website with an html > structure that looks something like this: > > docu/source/ > - lorem > - dolor > > The navigation and linkages to ipsum/ etc. I can eliminate easily but I > want to prevent the ipsum folder and files from being published, as someone > will eventually find them. How can I do that? > > -- 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 sphinx-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/98347f21-efd4-4185-aae5-efd885023f46n%40googlegroups.com.