❷ 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.
-
Add the Specification to specref.org
Follow the instructions in Adding to specref.org. -
Ensure Availability in Spec-Up-T
Verify that the specification is included in one of the sources listed in thegulpfile.js
. -
Recompile References
Update the compiled references by running the following command in the root of your Spec-Up-T repository:gulp refs
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.