HTML documentation generator for SystemRDL-based register models
Maintained. Last release 9 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install peakrdl-htmlPeakRDL-html
Generate address space documentation HTML from compiled SystemRDL input.
For the command line tool, see the PeakRDL project.
Installing
Install from PyPi using pip:
python3 -m pip install peakrdl-html
Example
The easiest way to use PeakRDL-html is via the PeakRDL command line tool:
# Install the command line tool
python3 -m pip install peakrdl
# Generate HTML
peakrdl html your_design.rdl -o output_dir
Here is an example of HTML output generated from a fictional SystemRDL register description: turboencabulator.rdl.
PeakRDL TOML config options
If using the PeakRDL command-line tool, some additional things can be configured via the TOML configuration file.
[html]
user_template_dir = "path/to/dir/"
user_static_dir = "path/to/dir/"
extra_doc_properties = ["list", "of", "properties"]
generate_source_links = false
reverse_fields = false
Reference
HTMLExporter(**kwargs)
Constructor for the HTML exporter class
Optional Parameters
markdown_inst- Override the class instance of the Markdown processor. See the Markdown module for more details.
- By default, the following extensions are loaded: 'extra', 'admonition', 'mdx_math'
user_template_dir- Path to a directory where user-defined template overrides are stored.