more comments

This commit is contained in:
Alex Wolfe 2015-05-06 15:36:02 -07:00
parent 577a80371f
commit ab28676d02
1 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,16 @@
var INLINE_LINK = /(\S+)(?:\s+([\s\S]+))?/;
/**
* @dgService linkInlineTagDef
* @description
* Process inline link tags (of the form {@link some/uri Some Title}), replacing them with HTML anchors
* @kind function
* @param {Object} url The url to match
* @param {Function} docs error message
* @return {String} The html link information
*
* @property {boolean} relativeLinks Whether we expect the links to be relative to the originating doc
*/
module.exports = function linkInlineTagDef(getLinkInfo, createDocMessage) {
return {
name: 'link',