I have reStructuredText file for Sphinx documentation similar to this:

Page Title
==========

**Contents**

.. contents::
   :local:
   :backlinks: none

----

Subtitle |mongodb_icon| |postgre_icon|
--------------------------------------

Some totally irrelevant text here...

(|mongodb_icon| and |postgre_icon| substitutions are defined in rst_prolog
 in conf.py)

Is it possible to render out the Subtitle in Contents without |mongodb_icon| 
|postgre_icon|part somehow? I'd like to have different strings for 
'contents' section and for the title itself, especially because in this 
way, generated URLs also include that text which I would like to avoid 
(e.g. _build/html/docs/page.html#subtitle-mongodb-icon-postgres-icon).

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