You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Convert standard library docs to Markdown and take argument documentation syntax to use #5709
Now that Libdoc supports Markdown (#5304) and arguments, return values and exceptions can be explicitly documented (#5604), we should take these great enhancements into use with standard libraries. Especially argument documentation will make resulting docs much better. Using Markdown instead of Robot's custom format doesn't matter that much for end users, but it certainly helps when libraries are shown as part of API docs.
It would be great to get all libraries converted in RF 7.5, but that may be too big a task. We should, however, convert at least some libraries so that they can be used as examples.
External help with conversion would be highly appreciated in general. This is an especially good issue for those who want to contribute to Robot Framework to get started. If you are interested, please comment here what library you'd like to look at first. Please also create PRs so that there are changes only to one library in one PR.
As part of this change, also the standard type documentation should be updated. That requires a small change on Robot side as well.
I'll start with Dialogs and Screenshot since they're small and self-contained, good first examples. Converting both to ROBOT_LIBRARY_DOC_FORMAT = "Markdown" with Args:/Returns: docs for every keyword, verified via libdoc. I'll open PRs, one library each. After that I'll move on to String, DateTime, and Collections,moving to the larger ones.
I would like to take the OperatingSystem library in one separate PR, without touching Dialogs, Screenshot, String, DateTime, or Collections. I will convert its library and keyword documentation to Markdown, add explicit argument and return documentation, keep exception documentation only where it adds useful information beyond the existing prose, and validate the generated Libdoc output plus the relevant tests. OpenAI Codex is assisting with the work, and I will disclose that in the PR.
Hey @pekkaklarck , gave it some thought, and I think we should only use the former when it adds information the prose does not already make clear. What do you think?
Telnet is now done so we only have OS left! I already merged the PR by @coyaSONG and @Vinni82 promised to make some further changes before I take the final look.
Issue #5788 points out that generating standard library docs doesn't anymore work with a basic Robot Framework installation. Installing markdown, and optionally pygments for syntax highlighting, is so simple that I don't consider it a big problem. We also have the docs publicly available, so there aren't that often needs to generate them. That said, this issue deserves to be labeled backwards incompatible. I'll do that and also update RF 7.5 release notes to mention this.
Activity
Shaurya2k06 commentedon Jul 17, 2026
I want to pick this up!
I'll start with Dialogs and Screenshot since they're small and self-contained, good first examples. Converting both to ROBOT_LIBRARY_DOC_FORMAT = "Markdown" with Args:/Returns: docs for every keyword, verified via libdoc. I'll open PRs, one library each. After that I'll move on to String, DateTime, and Collections,moving to the larger ones.
pekkaklarck commentedon Jul 17, 2026
Awesome! Doing libraries one-by-one is great, because we can then decide on conventions as needed.
One thing to decide already now is what to do with exceptions. For example, does it make sense do add something like
to
Should Be Equalor is that too redundant?coyaSONG commentedon Jul 17, 2026
I would like to take the OperatingSystem library in one separate PR, without touching Dialogs, Screenshot, String, DateTime, or Collections. I will convert its library and keyword documentation to Markdown, add explicit argument and return documentation, keep exception documentation only where it adds useful information beyond the existing prose, and validate the generated Libdoc output plus the relevant tests. OpenAI Codex is assisting with the work, and I will disclose that in the PR.
Shaurya2k06 commentedon Jul 17, 2026
Hey @pekkaklarck , gave it some thought, and I think we should only use the former when it adds information the prose does not already make clear. What do you think?
Libdoc: Convert standard type documentation to Markdown
Libdoc: Convert standard type documentation to Markdown
Screenshot: Convert docs to Markdown and use Args/Returns syntax
Telnet: Convert docs to Markdown and use Args/Returns syntax
Telnet: Convert docs to Markdown and use Args/Returns syntax
61 remaining items
pekkaklarck commentedon Aug 31, 2026
Notice that if libraries need some kind of notes, tips or warnings, this kind of admonition syntax can be used:
For more details see discussion here.
Enhance Telnet docs (#5778)
Convert OperatingSystem documentation to Markdown (#5710)
pekkaklarck commentedon Sep 9, 2026
Telnet is now done so we only have OS left! I already merged the PR by @coyaSONG and @Vinni82 promised to make some further changes before I take the final look.
Enhancements to Telnet docs
Enhance OperatingSystem docs (#5782)
pekkaklarck commentedon Sep 14, 2026
All libraries have now been converted! Huge thanks for the help @Shaurya2k06, @coyaSONG and @Vinni82!
Final updates to OperatingSystem docs.
pekkaklarck commentedon Sep 17, 2026
Issue #5788 points out that generating standard library docs doesn't anymore work with a basic Robot Framework installation. Installing
markdown, and optionallypygmentsfor syntax highlighting, is so simple that I don't consider it a big problem. We also have the docs publicly available, so there aren't that often needs to generate them. That said, this issue deserves to be labeledbackwards incompatible. I'll do that and also update RF 7.5 release notes to mention this.Enhance docs related to std lib doc enhancements