Closed
Description
Learning reST to write user manuals. (Hardware products.) Devices can have one of three network connections so the format of one file is:
Standard text
.. only:: test1
text
.. only:: test2
text
.. only:: test1 or test2
text
.. only test3
text
If the headings in the 'test1 or test2' section does not match the headings of 'test1' or 'test2' section, the 'test1 or test2' section appears before the 'test1' or 'test2' sections.
Attached are two ZIP files of the resulting html files. The test1, test2, and test3 tags are defined in the associated conf.py files.
- Bitbucket: https://bitbucket.org/birkenfeld/sphinx/issue/1488
- Originally reported by: David Nichols
- Originally created at: 2014-06-11T22:13:07.729