Expand description
Publish pipeline: mirrors docutils.core.publish_string /
publish_doctree โ parse, transform, halt-check, write.
Writer split (verified against the oracle): publish_doctree uses the
null writer, which adds no Messages/Filter transforms, so loose
(transform-time) messages stay stream-only and nothing is filtered.
publish_string uses a real writer: loose messages gather into a
closing section and sub-threshold messages are filtered.
Functionsยง
- publish_
doctree_ with - Parse + transform
source, enforcinghalt_level. - publish_
fragment_ with - Publish a body fragment (no
<html>shell) โ handy for embedding. - publish_
string_ with - Publish
sourceto a string with the configured writer.