Requirements List extension for ReSpec based publications
npm install reqlistExtend your ReSpec enabled technical report with a navigation section that lists the MUSTs and SHOULDs, with links and context.
In your spec's HTML , you can add the JS and CSS files from this npm published package.
``html`
In your ReSpec config, add the prepare_reqlist function to the preProcess array field, and add_reqlist_button to postProcess.
`js``
var respecConfig = {
preProcess: [
prepare_reqlist
],
postProcess: [
add_reqlist_button
],
// ...
}
Load your draft spec with ReSpec in a browser.
Use the button on the top right labeled 'ReqList' to jump to the added 'Requirements List'.