Skip to content

Commit ab28676

Browse files
committed
more comments
1 parent 577a803 commit ab28676

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/links-package/inline-tag-defs/link.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
var INLINE_LINK = /(\S+)(?:\s+([\s\S]+))?/;
22

3+
/**
4+
* @dgService linkInlineTagDef
5+
* @description
6+
* Process inline link tags (of the form {@link some/uri Some Title}), replacing them with HTML anchors
7+
* @kind function
8+
* @param {Object} url The url to match
9+
* @param {Function} docs error message
10+
* @return {String} The html link information
11+
*
12+
* @property {boolean} relativeLinks Whether we expect the links to be relative to the originating doc
13+
*/
314
module.exports = function linkInlineTagDef(getLinkInfo, createDocMessage) {
415
return {
516
name: 'link',

0 commit comments

Comments
 (0)