Skip to content

Spec status - Sourcejs plugin for defining documentation page (spec) status of implementation.

License

Notifications You must be signed in to change notification settings

nightkin/sourcejs-spec-status

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spec Status

SourceJS plugin for Spec Statuses. Define the state of specific Spec with dev, rec, ready, deprecated or any custom badges.

image

It's also possible to assign different statuses to subsections of the Spec by adding corresponding status-class to source section, e.g.:

<div class="source_section status-deprecated">

Installation

To install it, run npm in sourcejs/user folder:

npm install sourcejs-spec-status --save

Then run Grunt update in SourceJS root:

cd sourcejs
grunt update

After restarting the app and defining enabled Spec catalogues in options, you will be able to set status to your Specs.

Options

Define plugin options in sourcejs/user/options.js file:

assets: {
  pluginsOptions: {
    specStatus: {
      enabledCatalogs: ['specs']
    },
  }
}

Dependencies

Install it, run locally or remotely and configure your SourceJS in /user/options.js:

assets: {
  modulesOptions: {
    couch: {
      server: 'http://couch-db.url:5984'
    },
  }
}

Compatible with SourceJS v0.4+, for v0.3.* use previous release.

About

Spec status - Sourcejs plugin for defining documentation page (spec) status of implementation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 54.4%
  • CSS 45.6%