-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 17.10.2010 19:14, schrieb Nikolaus Rath: > Hello, > > I have a document that is not included in the toctree, but included > (with the ReST include directive) in another document. > > Is there a way to get rid of the "WARNING: document isn't included in > any toctree" message that Sphinx produces for this document?
Yes -- in that case, it would be best to give it a different file name extension, otherwise you end up with an extra HTML file for this source file as well. If you don't like that, put :orphan: into the first line of the document; that at least removes that particular warning. Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAky7MGwACgkQN9GcIYhpnLAhwACgsAhkcQMJ/+Pruay6xO9RMg9C +9EAoI6bZi83BBlRv4QfN+/Hz1jWD3m7 =7tNF -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@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.