In toctree documentation <http://sphinx-doc.org/markup/toctree.html> 
section on *Entries*, it says 



> *Entries*
>
> Document titles in the toctree 
> <http://sphinx-doc.org/markup/toctree.html#directive-toctree> will be 
> automatically read from the title of the referenced document. If that isn’t 
> what you want, you can specify an explicit title and target using a similar 
> syntax to reST hyperlinks (and Sphinx’s cross-referencing syntax). This 
> looks like:
>
 
>
.. toctree::
>
>    intro
>    All about strings <strings>
>    datatypes
>
>  
>
The second line above will link to the strings document, but will use the 
> title “All about strings” instead of the title of the strings document.
>


I'm trying to do:

 
.. toctree::

   Software |version| System Manual <system_manual/index>
   Software |version| Experiment Manual  <experiment_manual/index>



Where |version| should get replaced, according to default substitutions 
documentation 
<http://sphinx-doc.org/markup/inline.html#default-substitutions>.

But the rendered html contains the actual chars '|version|' instead of the 
appropriate substituted text. 

Should I be able to do this?

My virtual environment uses Sphinx 1.3.1.

Thanks.

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