robot.libdocpkg.builder
¶
    
            LibraryDocumentation
¶
    Generate keyword documentation for the given library, resource or suite file.
:param library_or_resource:
    Name or path of the library, or path of a resource or a suite file.
:param name:
    Set name with the given value.
:param version:
    Set version to the given value.
:param doc_format:
    Set documentation format to the given value.
:return:
    :class:~.model.LibraryDoc instance.
This factory method is the recommended API to generate keyword documentation
programmatically. It should be imported via the :mod:robot.libdoc module.
Example::
1 2 3 4 5 6  |  | 
Source code in src/robot/libdocpkg/builder.py
              
            DocumentationBuilder
¶
    Keyword documentation builder.
This is not part of Libdoc's public API. Use :func:LibraryDocumentation
instead.