MCPcopy
hub / github.com/sphinx-doc/sphinx / write_doc_serialized

Method write_doc_serialized

sphinx/builders/__init__.py:840–844  ·  view source on GitHub ↗

Handle parts of write_doc that must be called in the main process if parallel build is active.

(self, docname: str, doctree: nodes.document)

Source from the content-addressed store, hash-verified

838 raise NotImplementedError
839
840 def write_doc_serialized(self, docname: str, doctree: nodes.document) -> None:
841 """Handle parts of write_doc that must be called in the main process
842 if parallel build is active.
843 """
844 pass
845
846 def finish(self) -> None:
847 """Finish the building process.

Callers 3

_write_parallelMethod · 0.95
_write_docnameFunction · 0.45
write_documentsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected