Hi juh,

thanks for your help. Using ".. include::" seems to work - I can put the 
file in ../common/Filename.rst and have a file in each document directory 
that just includes the actual document.
While it would be more elegant to directly reference the actual file in the 
toctree, this works for me.

Thank you!

Lenz

On Tuesday, March 25, 2014 3:35:22 PM UTC+1, juh wrote:
>
> I am not sure whether toctree only allows to include files in the same 
> directory or below – have you tried include instead? 
>
> Anyway, you could try another approach. 
>
> You can have multiple conf.py files in your project and you can call 
> sphinxbuild with the option -c to use one of the files, eg: 
>
> sphinx-build -c firstdocument.py -b latexpdf sourcedir builddir 
>
> and 
>
> sphinx-build -c seconddocument.py -b latexpdf sourcedir builddir 
>
> Then you have to specify different start files in the configuration 
> files and different files to be excluded from the build. 
>
> That way you have all your files in one directory and build your output 
> files according to the definitions in the two conf.py-files. 
>

-- 
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.

Reply via email to