We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd0d070 commit 6c4f1f6Copy full SHA for 6c4f1f6
test/fixture/simple.output.github.json
@@ -35,7 +35,7 @@
35
},
36
"code": "module.exports = function () {\n // this returns 1\n return 1;\n};",
37
"path": "test/fixture/simple.input.js",
38
- "github": "https://github.com/documentationjs/documentation/blob/1e4dd63875058fdb540e9cd0141606eebd3a2f65/test/fixture/simple.input.js#L5-L8"
+ "github": "[github]"
39
40
"errors": [
41
"memberof reference to module not found"
test/normalize.js
@@ -1,6 +1,9 @@
1
function normalize(comments) {
2
comments.forEach(function (comment) {
3
delete comment.context.file;
4
+ if (comment.context.github) {
5
+ comment.context.github = '[github]';
6
+ }
7
normalize(comment.members.instance);
8
normalize(comment.members.static);
9
});
0 commit comments