Hello. I'm new to Sphinx, but so far it is making sense. Using Sphinx 1.4.4 on FreeBSD at present.

I am trying to use a single .rst file for two versions of a software project. Part of this file has a bullet list describing features of the software.

 * New glunkifier for fribulating text.

 (eight more entries here)

 * Zoodler has been enhanced.

 * Numbulator now handles XQT48.

The other version of this software has a slightly different entry for one of the bullet points, and an additional point entirely. Rather than have two entirely different but very similar bullet lists, I'd like to just make the other points conditional:


 * New glunkifier for fribulating text.

 (eight more entries here)

 * Zoodler has been enhanced.

.. only:: versionA

 * Numbulator now handles XQT48.

.. only:: versionB

 * Numbulator now handles XQT49.

 * Framulator is .005% faster.


That does not work, of course. At best, the changed and additional entries are seen as a new bulleted list.

The obvious solution is two complete lists, one for only:: versionA and one for only:: versionB. But the text is mostly identical, and it is easy for identical entries to get out of sync. Is there any way to conditionally add the different or additional bullet points to a single
list?

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 https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to