2026-04-22 10:52:23 +02:00
2026-04-22 10:52:23 +02:00
2024-03-20 16:13:23 +01:00
2024-07-25 17:29:20 +02:00
2024-03-20 14:28:53 +01:00
2024-04-16 16:54:06 +02:00
2024-03-12 09:08:40 +01:00
2024-03-20 16:13:23 +01:00

MARTe Auto Documentation Tool

This tool create a simple yet effective documentation of a MARTe configuration. It generates graph for state machines and real time applications, with different level of details. Additionally create a markdown file with all the information condensed.

It automatically generate a standalone html and a pdf using pandoc (markdown to pdf/html) and dot (for generate the images for the graph).

It has only standard dependency and the only non standard are the ones needed for parsing the MARTe configurations file and are:

  • pyjson for json configuration files
  • MARTe for standard MARTe configuration files

In order to generate the pdf and html you will also need:

  • dot
  • pandoc

Usage

ausage: autodoc [-h] [--type {json,marte}] [--loglevel {DEBUG,INFO,WARNING,ERROR,CRITICAL}] [--build BUILD] [--version] [-d DESTINATION] filename

MARTe configuration auto documentation tool

positional arguments:
  filename              Configuration file to document

options:
  -h, --help            show this help message and exit
  --type {json,marte}   Configuration file type (default: `marte`)
  --loglevel {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        Logging level (default: `ERROR`)
  --build BUILD         build output flag
  --version             show program's version number and exit
  -d DESTINATION, --destination DESTINATION
                        Destination folderutodoc -

Output Example

HTML Output

Html generate page:

HTML output example

Simplified State Graph

From the html page:

Simplified example

Full State Graph

Full details state graph dot file opened using xdot:

Detaield state graph

S
Description
No description provided
Readme 1.3 MiB
Languages
Python 98.1%
Lua 1.6%
TeX 0.3%