Skip to content

Libdoc: Support generating keyword documentation for suite files #4493

@d-biehl

Description

@d-biehl

When I want to create a library documentation for files that contains keywords and test cases, I get an error message:

❯ libdoc .\suite.robot suite.html
Error in file 'suite.robot' on line 1: Resource file with 'Test Cases' section is invalid.

Try --help for usage information.

I think it should also be possible to create a library documentation for such files.

  • simply for the documentation of the keywords contained there
  • in RobotCode there is a function that allows to display the library documentation in VSCode. On the one hand you can easily show the full documentation, on the other hand it is a good help to write the documentation, because you have a preview of what you have written.

This documentation is generated on the fly and displayed in the VSCode window. This works for libraries and resource files, but not for suite files.

I have already started to make a PR #4492, but I don't get to finish it yet, (holiday today, new heating system tomorrow, Wednesday RoboCon, ...).

can you check the PR and I think at the end of the week I can add/correct the test cases.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions