Metadata-Version: 2.4
Name: trlcdoc
Version: 0.3.0
Summary: Configurable documentation tooling for TRLC based projects
Author-email: Norbert Schulz <github@schulznorbert.de>
License-Expression: GPL-3.0-or-later
Project-URL: Documentation, https://nhjschulz.github.io/trlc-doc/
Project-URL: Repository, https://github.com/nhjschulz/trlc-doc
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Documentation
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: trlcdoc/converters/LICENSE
Requires-Dist: PyYAML>=6.0
Requires-Dist: jsonschema>=4.18
Requires-Dist: pyTRLCConverter>=3.0.0
Requires-Dist: bmw-lobster==1.0.*
Requires-Dist: Sphinx>=8.1.3
Requires-Dist: myst-parser>=4.0.0
Requires-Dist: sphinxcontrib-plantuml>=0.30
Provides-Extra: test
Requires-Dist: pytest>=8.0; extra == "test"
Requires-Dist: pytest-cov>=5.0; extra == "test"
Dynamic: license-file

# trlcdoc

Configurable documentation tooling for TRLC based projects.

trlcdoc converts [TRLC](https://github.com/bmw-software-engineering/trlc)
requirements, test results and [LOBSTER](https://github.com/bmw-software-engineering/lobster)
trace reports into a static project documentation web site. A `trlcdoc.yaml`
configuration file in the project root defines what to process.

![Overview](https://raw.githubusercontent.com/nhjschulz/trlc-doc/main/overview.svg)

Status: alpha. The configuration may change incompatibly before 1.0.0.

- **Documentation:** <https://nhjschulz.github.io/trlc-doc/>
- **Source code:** <https://github.com/nhjschulz/trlc-doc>

## Installation

```bash
pip install trlcdoc
```

The HTML site needs a Java runtime for PlantUML, and Graphviz for all
diagrams except sequence diagrams.

## Usage

```bash
trlcdoc                             # all steps, uses ./trlcdoc.yaml (or a parent folder)
trlcdoc tests trace                 # selected steps only
trlcdoc clean all                   # fresh full build
trlcdoc -c other.yaml check         # validate a configuration
```

A minimal `trlcdoc.yaml` that converts one folder of TRLC requirements into an
HTML site in `build/trlcdoc/html`:

```yaml
project:
  name: example
  author: Jane Doe
  copyright: "2026, Jane Doe"

paths:
  trlc_model: trlc/model

documents:
  - id: sw_requirements
    title: SW Requirements
    type: trlc
    source: trlc/swe-req
    pytrlcconverter:
      converter:
        rst: builtin:req2rst.py
```

## Configuration schema

Editors with YAML language support validate the configuration against the
published JSON schema. Use the copy matching your trlcdoc release, here for
version 0.3.0:

```yaml
# yaml-language-server: $schema=https://nhjschulz.github.io/trlc-doc/schema/V0.3.0/trlcdoc.schema.json
```

The [configuration reference](https://nhjschulz.github.io/trlc-doc/configuration.html)
explains every section and key.

## License

GPL-3.0-or-later
