On Wed, 27 Jul 2016, Warren Block wrote:
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.
As a more general question:
The only:: and ifconfig:: options in Sphinx don't prevent evaluation of
the sections they hide.
So when building versionA, warnings are still produced for only::
versionB sections that are looking for :ref: references in a different
file that is excluded entirely.
Is there a more powerful way to do this, preferably something others use
already?
It seems like the C preprocessor or something like it would work, but
I'm hesitant to build a custom setup if there might be an existing
solution.
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.