Aratramba / design-manual

Lightweight Design System Generator
http://eightmedia.github.io/design-manual
15 stars 1 forks source link

pass jade locals #17

Closed Aratramba closed 8 years ago

Aratramba commented 8 years ago

there should be a way to pass locals to the jade runtime directly from the settings.

pugDoc({
  input: '**/*.jade',
  output: 'anything.json',
  locals: {
    myLocal: 'foo'
  }
});
Aratramba commented 8 years ago

moved https://github.com/Aratramba/pug-doc/issues/44