Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Rfdocsindexer is a simple Python3 module to generate RobotFramework 4+ libraries documentation.
One can configure the tool from a simple TOML configuration file and run it from a console.
The tool then uses the RobotFramework Libdoc module to generate an HTML, XML, JSON or Libspec documentation for any RobotFramework keyword library.
An HTML index is also generated to centralize the generated documentations.
Below is an overview of the HTML index generated. It makes it easy to navigate among external resources and keywords documentation.
Install from Pypi:
pip install rfdocsindexer
The tool can be configured with a config file in TOML format.
Example configuration file:
[rfdocsindexer]
library_paths = ["**/libraries/*.robot", "my_library.resource"]
library_names = ["MyLibrary", "MyOtherLibary.MyOtherLibrary"]
extra_modules_searchpaths = ["./library_dir"]
external_resources = ["RF homepage | https://robotframework.org/", "http://example.org"]
build_machine_readable_libdoc = true
include_robotframework_resources = true
The configuration file must contain the section [rfdocindexer]
and any or none of the following options:
library_paths
: a list of paths (glob format accepted) to RF resource files (can be *.resource
, *.robot
, *.spec
...)library_names
: a list of RF library modulesextra_modules_searchpaths
: a list of paths to append to PYTHONPATH
external_resources
: a list of URLs which will be added to the HTML index file, or <name> | <URL>
. Useful to include frequently used external resources when developing tests.build_machine_readable_libdoc
: whether to generate documentation in XML, JSON and Libspec format. If set to False
, only the HTML documenation will be generated. Default is False
.include_robotframework_resources
: whether to generate documentation for default RobotFramework libraries (BuiltIn
, Collection
, ...). Default is True
.In a standard shell, run the following:
# To generate documentation for default RobotFramework libraries
indexrfdocs
# To specify the configuration file to use
indexrfdocs -c path/to/configfile.toml
# To specify the output directory (content will not be erased if already existing), default is "rfdocs"
indexrfdocs -o path/to/outdir
FAQs
A simple and configurable generator for RobotFramework documentation
We found that rfdocsindexer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.