Template for prostep ivip SmartSE Usecase Cluster Repositories.
This repository serves as a template for usecase cluster documentation repositories in the prostep ivip SmartSE project. It provides a standardised structure for:
- Documentation (Antora-based, in the
doc/directory) - Source code for building model artefacts (in the
src/directory) - Models in SysML, SSP, Modelica, and Simulink formats (in the
models/directory) - Testing infrastructure and test cases (in the
testing/directory)
.
├── antora-playbook.yml # Antora site build configuration
├── CMakeLists.txt # Top-level CMake build file
├── doc/ # Antora documentation component
│ ├── antora.yml # Antora component descriptor
│ └── modules/
│ ├── ROOT/ # General / landing documentation
│ ├── usecases/ # Use case documentation
│ ├── showcases/ # Show case documentation
│ └── models/ # Model documentation
├── models/ # Model files
│ ├── sysml/ # SysML models
│ ├── ssp/ # SSP models
│ ├── modelica/ # Modelica models
│ └── simulink/ # Simulink models
├── src/ # Source code for building model artefacts
└── testing/ # Test cases and testing infrastructure
The documentation is built using Antora. The doc directory contains a single Antora component with the following modules:
| Module | Purpose |
|---|---|
ROOT |
Landing page, general cluster documentation |
usecases |
Detailed use case descriptions |
showcases |
Showcase demonstrations using example models and source code |
models |
Documentation of models contained in the models/ directory |
The built documentation is available via github pages here.
cmake -B build
cmake --build build --target docsOr directly with Antora:
npx antora antora-playbook.ymlThe generated site is written to build/site/.
All build processes are CMake-based. The CMake configuration discovers and includes each subdirectory automatically.
cmake -B build
cmake --build build- Clone or use this template to create a new repository.
- Update
antora-playbook.ymlwith the correct repository URL and branch. - Update
doc/antora.ymlwith the correct component name, title, and version. - Replace placeholder content in
doc/modules/with actual documentation. - Add model files to the appropriate subdirectories under
models/. - Add source code to subdirectories under
src/. - Add test cases and infrastructure to
testing/.