Hi,

I have some procedures that have variable steps depending on the build 
context.

For example, I may need to add one additional step for one product version 
that does not exist in another.

I would like to be able to achieve this using include files for the 
additional steps and use I don't flag to control whether it is part of the 
build or not. My issue is that the step numbering resets at the point where 
the additional numbered items are inserted. For example:

extra_step.txt:
#. Do this conditional thing.

procedure.rst:
#. Do something.

#. Do something else.

.. only:: product_b

   .. include:: extra_step.txt

#. Final step.

Result in procedure.html:
1. Do something.

2. Do something else.

1. Do this conditional thing.

2. Final step.


Is this sort of conditionalization within a procedure achievable with 
Sphinx?

Thanks,
Ron

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/9e0e1f9e-aff3-4241-aed3-35a580866c7cn%40googlegroups.com.

Reply via email to