Would the exclude_patterns directive help you here? http://sphinx.pocoo.org/config.html#confval-exclude_patterns
Ramon On Wednesday, February 9, 2011 12:04:39 AM UTC-8, Johannes Stallkamp wrote: > > Hello, > > I am new to Sphinx and I am wondering whether it is possible to only > include rst files that are actually referenced in the TOC. > IIUC, I can only explicitly _exclude_ files. However, our projects > contain a flexible number of subcomponents in one large directory tree. > I create the master index file dynamically via CMake to include only > references to the docs of those components that are included. When > running sphinx, I get warnings that some documents are not indexed (the > ones of the excluded components) but they are nevertheless included. > > Is there any way to tell Sphinx to only include explicitly listed files? > > Kind regards > Johannes > > -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/F2V_lMPXVOEJ. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.