Skip to main content

❷ Make available in Spec-Up-T

How to make a specification available in Spec-Up-T

This guide explains how to add a new specification reference for use in Spec-Up-T.

  1. Add the Specification to specref.org
    Follow the instructions in Adding to specref.org.

  2. Ensure Availability in Spec-Up-T
    Verify that the specification is included in one of the sources listed in the gulpfile.js.

  3. Recompile References
    Update the compiled references by running the following command in the root of your Spec-Up-T repository:

    gulp refs

    See the relevant line in gulpfile.js.

Explanation

Running the gulp refs command retrieves the latest reference data from remote sources and updates the refs.json file located at: assets/compiled/refs.json.

When rendering a specification using the command npm run menu 1, any [[spec: …]] placeholders in the content will be replaced with the corresponding reference data from refs.json. This ensures that specifications are rendered with up-to-date and accurate references.