Re: [sphinx-dev] restructred text substitutions available in all files from one include?

2012-05-17 Thread Viktor Haag
Cool! Thats' exactly it. Thanks. It boggled me that there wasn't some way 
to do this.

On Tuesday, 15 May 2012 17:36:06 UTC-4, jsseabold wrote:


 http://sphinx.pocoo.org/config.html#confval-rst_epilog 



-- 
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sphinx-dev/-/zBJeklRbe6YJ.
To post to this group, send email to sphinx-dev@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.



RE: [sphinx-dev] restructred text substitutions available in all files from one include?

2012-05-15 Thread Kathy Tolbert
I'd like to use some of the common symbol entity substitutions afforded by
restructured text in my Sphinx docs, using



.. include:: isonnums.txt



and so forth. Is there a way to include this file once for my whole
project, so that I can use the |copy| and similar substitutions in all
documents in my project? As it stands, it appears I have to .. include the
file for every RST file in my project where I use such a substitution...





Hi Victor,



I’m not sure if this is exactly what you have in mind…



We use a single substitutions file for 3 different sets of documentation.
It lives a directory above each set of documentation project.



Documentation

-- 00-Sandbox-directory

 -- Product-A-directory

-- Product-B-directory

-- Product-C-directory

 -- extensions-directory-for-all-products

 substitutions.rst



All files in each product directory contain the following line at the top
of each document (line 1), followed by the chapter title:



.. include:: ../../substitutions.rst



==

Chapter Title Here

==



Kathy

-- 
You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-dev@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.