Skip to content

Improve reStructuredText rendering in Libdoc - #5781

Open
coyaSONG wants to merge 3 commits into
robotframework:masterfrom
coyaSONG:fix/libdoc-rest-rendering-2507-v4
Open

coyaSONG wants to merge 3 commits into
robotframework:masterfrom
coyaSONG:fix/libdoc-rest-rendering-2507-v4

Conversation

@coyaSONG

@coyaSONG coyaSONG commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Description

Improve Libdoc's reStructuredText rendering for headerless Robot examples,
native keyword and section links, shared introduction targets, and Sphinx-style
parameter documentation.

Motivation

Make reStructuredText library documentation usable with its native conventions
while preserving existing documentation formats and runtime keyword behavior.

Additional details

Keep Google-style argument extraction and execution-time tag handling unchanged.
Validation scope includes REST regression cases, unit and acceptance tests,
JSON/XML specification checks, formatting, and Libdoc template regeneration.
This change was prepared with AI assistance; authorship does not imply review
or endorsement by maintainers.

Related issues and pull requests

Fixes #2507

@coyaSONG

Copy link
Copy Markdown
Contributor Author

The original unit-test failure is fixed by 15fdc4c and all unit-test jobs now pass. The remaining Windows/Python 3.9 acceptance job failed after 7,073/7,077 tests with Processing output failed: ParseError: out of memory in the timeout-logging suite; the other Windows and Linux matrix jobs passed. This appears unrelated to the Libdoc test-only change. I do not have permission to rerun the upstream workflow—could a maintainer please rerun the failed job?

@coyaSONG
coyaSONG marked this pull request as ready for review October 11, 2026 08:39
@coyaSONG

Copy link
Copy Markdown
Contributor Author

Update at ee66e2f: the upstream conflict is resolved and the missing-docutils dependency error is preserved with a regression test. All eight exact-head GitHub unit/acceptance matrix jobs now pass on Linux and Windows with Python 3.9 and 3.14. Local verification also passed 2,459 unit tests and all 463 Libdoc acceptance tests with schema validation. The earlier Windows acceptance failure is no longer present on this head; no rerun of that old job is needed. Marked ready for maintainer review. Implementation and command execution were assisted by OpenAI Codex; no human review is claimed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhanced support for reStructuredText format in library documentation

1 participant