Libdoc , merge all resources

Hi, i want to make one html file contains all .resources in a project, i import all of them in one resource file name: 0_Resources.resource and in each resources the 0_Resources.resource is imported. so in each test case i only import 0_Resources.resource

with this command i have error:

python -m robot.libdoc --merge ICCM6021_CAN.json ICCM6021_Touch.json CombinedDocs.html
option --merge not recognized

Try --help for usage information.

with this command the html file is empty:

python -m robot.libdoc .\0_Resource.resource ICCM6021.html

How can i have libdoc documentation in html contains all .resource?

Hello ,

You can use libtoc instead of libdoc to generate combined keyword documentation from distributed resources or entire folders: GitHub - amochin/robotframework-libtoc: Generates docs for an entire folder with Robot Framework resources/libs and creates a TOC for them

Regards,
Markus

4 Likes