Update One RST Page in DocsFab
Update top-level prose in one existing tracked reStructuredText page through the local patch path.
Update One Existing RST Page
The CLI supports a narrow reStructuredText (RST) update when the selected page
is one existing tracked .rst file inside an effective documentation root
owned by one unambiguous Sphinx configuration. Use --patch-only for this
operation:
The request must name exactly one page. The plan cannot create or restructure
an RST page, update a second page, or change Sphinx configuration or navigation.
An RST update without --patch-only is refused before writing. Existing
Markdown and MDX updates keep their current behavior. This support applies to
docsfab run, not direct live-agent RST editing.
The writer can replace one ordinary top-level prose paragraph or insert one between complete top-level blocks. The host identifies eligible regions from the original page bytes, offers those regions to the writer, and applies only the writer’s selected region and proposed prose. The host verifies that every other byte remains unchanged. A successful patch leaves the source checkout unchanged.
This slice does not edit headings, labels, roles, comments, literal blocks, tables, images, directive bodies, note or tab content, nested blocks, or indented lists. It also does not add directives, roles, labels, or headings. Keep the request within one ordinary prose paragraph when the page contains these constructs.
The run records byte preservation, static structure comparison, static Sphinx
graph validation, and native-build status separately. Static checks cover
supported labels and doc/ref references, toctree and include targets,
and supported directive options. They do not execute conf.py or extensions.
The workflow does not run a native Sphinx build. A bounded opaque directive can
remain byte-identical while still being unvalidated; the result reports this
as the opaque-directive limitation and marks the static result limited.
Use these codes to resolve a refused update:
The writer step receipt records the selected path and span, base and candidate
digests, unchanged-range count, and preservation-manifest digest. It also
records static structure and graph states, checked syntax, opaque limitations,
and rstNativeBuild: not-run. These receipts do not establish a native build
or customer-site qualification.
Related
Use these topics for the supporting contracts and next actions.