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 6b9ddaf commit c62aee2Copy full SHA for c62aee2
docs/preprocessor.js
@@ -6,6 +6,16 @@ function smokeTestMethods(data) {
6
data.classitems.forEach(function(classitem) {
7
if (classitem.itemtype === 'method') {
8
new DocumentedMethod(classitem);
9
+
10
+ if (classitem.access !== 'private' &&
11
+ classitem.file.substr(0, 3) === 'src' &&
12
+ classitem.name &&
13
+ !classitem.example) {
14
+ console.log(classitem.file + ':' + classitem.line +
15
+ ': ' + classitem.itemtype + ' ' +
16
+ classitem.class + '.' + classitem.name +
17
+ ' missing example');
18
+ }
19
}
20
});
21
0 commit comments