Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

suma

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

suma

  • 0.1.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= Suma: utility for the STEP Unified Model-driven Architecture

== Purpose

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 https://github.com/metanorma/iso-10303[ISO 10303 collection] to build the following artifacts:

  • the STEP Resource Library (SRL)

== Install

[source,sh]

$ gem install suma

== Usage

=== General

[source,sh]

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.

=== Compilation

.To compile SRL subset test collection [source,sh]

$ bundle exec suma build metanorma-test.yml

.To build SRL collection [source,sh]

$ bundle exec suma build metanorma-srl.yml

// .To compile all STEPmod migrated docs (without detached) individually // [source,sh] // ---- // $ bundle exec metanorma site generate // ----

=== Generating full schema listing files

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.

[source,sh]

$ 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.

== License

Copyright Ribose. BSD 2-clause license.

FAQs

Package last updated on 19 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc