SUMA, the "STEP Unified Model-Based Standards Architecture", is a authoring and publication system developed for the management of EXPRESS schemas and its documentation.
This utility is used by the ISO 10303 collection to build the following artifacts:
-
the STEP Resource Library (SRL)
# Defaults to `suma help`
$ suma
Commands:
suma build METANORMA_SITE_MANIFEST # Build collection specified in site manifest (`metanorma*.yml`)
suma help [COMMAND] # Describe available commands or one specific command
Where:
METANORMA_SITE_MANIFEST
-
This is the path to the Metanorma site manifest, typically
metanorma.yml
.
$ bundle exec suma build metanorma-test.yml
$ bundle exec suma build metanorma-srl.yml
We generate the full schema collection listing using the --no-compile
option in the suma
command.
The generated schemas-*.yaml
file name is derived from the input file name
with the word metanorma
replaced with schemas
.
$ bundle exec suma build --no-compile metanorma-srl.yml
# => generates schemas-srl.yml
All documents need to have a schemas.yaml
in their document root that lists
out which schemas the document includes.