Skip to content

Libdoc: Show type information of embedded paramters #5320

Closed as duplicate
Closed as duplicate

Description

@franzhaas

When generating libdoc documentation, keywords with embedded arguments do not show the type hints.

This is a significant disadvantage to the "regular" parameter use case as in many cases the type information is clearer and more concise than free text would be.

For example.:

Write ${data} to ${destination}

Types.:
   data = bytes
   destination = socket.socket | io.RawIOBase

The types provide quite a bit of helpful information.

I believe that release 7.3 is going to touch the libdoc code base close to this to implement libdoc markdown, therefore I think this would be a good fit.

Activity

  1. pekkaklarck commented on Jan 21, 2025

    @pekkaklarck
    Member

    This is a good idea, but I'm not sure what's the best way to show the info. Could it be included in the keyword name along with the argument name?

    I add this yo RF 7.3 scope with a hope that someone comes up with a good UI.

  2. added this to the v7.3 milestone on Jan 21, 2025
  3. modified the milestones: v7.3, v7.4 on Apr 4, 2025
  4. modified the milestones: v7.4, v7.5 on Jun 24, 2025
  5. pekkaklarck commented on Jan 14, 2026

    @pekkaklarck
    Member

    I had forgot about this and submitted #5598 about the same problem. I should have commented this issue instead, but now that we have two issues one must be closed. The new issue covers both library keywords and user keywords (this one seems to cover only library keywords) and in general has a bit more information. I'll thus keep that open and close this one.

  6. removed this from the v7.5 milestone on Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions