lib/docs/router.js
function DocsRouter(docs, options) {
  debug('create docs router');

  options = options || {};

  this.docs = docs;
  this.prefix = options.prefix || '/';
}
function DocsRouter(docs, options) {
  debug('create docs router');

  options = options || {};

  this.docs = docs;
  this.prefix = options.prefix || '/';
}
function DocsRouter ( docs , options ) { debug ( 'create docs router' ) ; options = options || { } ; this . docs = docs ; this . prefix = options . prefix || '/' ; }
Initialize a new `DocsRouter`.

@param {Docs} docs
@param {Object} options
@api private
Initialize a new DocsRouter .