anita kean schrieb: > Hello > > I've been browsing the sphinx archives looking for > mention of something like latex's TEXINPUTS environment > variable - a search-path for style files, images, > listings, etc. > > My real problem is literalincludes of code in > a directory tree - as I understand it, filenames given > to literalincludes must be relative to the calling file. > > But a tree of rst files and a corresponding tree of > files to be included makes it difficult to restructure > the rst files or the code. > > Can literalincludes be made relative to the base directory > of the project (directory of conf.py e.g.) or > some other set of possible search paths provided to conf.py? > > i.e. I don't want to use relative paths for files in literalincludes, > and I'd like to keep code structure separate from documentation > structure.
That is a valid request. Only a while ago, I enabled absolute paths for images, and don't see why they shouldn't be enabled for includes (and downloads) also. I've implemented this now in trunk. Georg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
