Hi,

I have a lot of small rst files which are includes for example by:

.. toctree::
:glob:
 foo/*

as the contents of these files are small the resulting html consists of a 
lot of small pages.
I would like to have the options to specify in the toc tree that the html 
builder (or any builder that creates separate linked output files) should 
include the contents of named files instead of linking to them. Something 
like:

.. toctree::
:glob:
    :include:
 foo/*


I can't find such option, when it is not available i would like to request 
this feature :)

I understand this is not straight forward as the relative paths are 
different and these should be accounted for. 
Lets say there is a foo/bar.rst which links to foo/bar.xml by

.. include:: bar.xml 

which would be 

.. include:: foo/bar.xml 

when bar.rst was included by an include directive instead of the toctree.


Kind regards,
Jelke van Hoorn 

-- 
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/groups/opt_out.

Reply via email to