Re: [sphinx-dev] Included non-rst files not copied to _source directory

2010-03-30 Thread TP
I implemented rst_prologue option in conf.py here: http://bitbucket.org/tpowers/sphinx/changeset/c5ad17aa65cb/ (it's only a few changed lines). On Mon, Mar 29, 2010 at 7:29 PM, Fernando Perez fperez@gmail.com wrote: On Mon, Mar 29, 2010 at 2:42 PM, TP wing...@gmail.com wrote: However, as

[sphinx-dev] Included non-rst files not copied to _source directory

2010-03-29 Thread TP
http://sphinx.pocoo.org/rest.html#substitutions says: If you want to use some substitutions for all documents, put them into a separate file and include it into all documents you want to use them in, using the include directive. Be sure to give the include file a file name extension differing

Re: [sphinx-dev] Included non-rst files not copied to _source directory

2010-03-29 Thread Max Battcher
TP wrote: Additionally, in the latest trunk revision, the unused_docs conf.py option no longer works, so if you change the name back to include .rst, you then get the WARNING: document isn't included in any toctree message. That warning is certainly harmless, if that's your biggest concern

Re: [sphinx-dev] Included non-rst files not copied to _source directory

2010-03-29 Thread TP
Yea, I was just ignoring the warning message. However, as described in my Include directive doesn't correctly support 'absolute' paths message, includes seem to be useless when used from multiple subdirs in the same project. Unless I'm missing something, there doesn't seem to be any easy way to

Re: [sphinx-dev] Included non-rst files not copied to _source directory

2010-03-29 Thread Fernando Perez
On Mon, Mar 29, 2010 at 2:42 PM, TP wing...@gmail.com wrote: However, as described in my Include directive doesn't correctly support 'absolute' paths message, includes seem to be useless when used from multiple subdirs in the same project. Unless I'm missing something, there doesn't seem to