Matthias Geier
2018-01-16 19:12:37 UTC
Dear list.
Given a docutils "document" object (e.g. the output of the RST
parser), how can I add the "orphan" flag to its field list?
Previously, I've worked around this question by manipulating the
Environment like this:
env.metadata['mydocname']['orphan'] = ''
However, this doesn't seem to work with Sphinx 1.4.9 and 1.5.1 and
1.5.3 and 1.5.6 and probably other versions.
cheers,
Matthias
Given a docutils "document" object (e.g. the output of the RST
parser), how can I add the "orphan" flag to its field list?
Previously, I've worked around this question by manipulating the
Environment like this:
env.metadata['mydocname']['orphan'] = ''
However, this doesn't seem to work with Sphinx 1.4.9 and 1.5.1 and
1.5.3 and 1.5.6 and probably other versions.
cheers,
Matthias
--
You received this message because you are subscribed to the Google Groups "sphinx-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "sphinx-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.