Am 27.02.2015 um 20:45 schrieb Matthew Woehlke: > On 2015-02-16 10:28, Jan Ulrich Hasecke wrote: >> I just reported this issue. >> https://github.com/sphinx-doc/sphinx/issues/1730 >> >> If you have RST-files in your project that are not included by a toctree >> directive they are nevertheless included into the epub archive. > > (As shimizukawa noted, it's not just ePUB, but all generators.) > > I'm not sure this is a bug... if you want some files to be excluded, why > are you not listing them thusly in your conf.py?
I think it's not a good idea to automatically include files which are not explicitly included. During the process of writing you often create some files which won't be included in the final document. Today Sphinx leaks information to readers which never was intended to be public. At least we need a clear warning that not included files are included during processing. IMHO it would be better, if nothing gets included at all if not explicitly included. juh -- Das ZEN von Pandoc Bücher und E-Books einfach und professionell produzieren http://www.amazon.de/Das-ZEN-von-Pandoc-professionell/dp/1505218799/ Paperback (232 Seiten) und E-Book -- 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 http://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
