mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
12 lines
448 B
JavaScript
12 lines
448 B
JavaScript
|
exports.handlers = {
|
||
|
newDoclet: function(e) {
|
||
|
// e.doclet will refer to the newly created doclet
|
||
|
// you can read and modify properties of that doclet if you wish
|
||
|
if (typeof e.doclet.name === 'string') {
|
||
|
if (e.doclet.name[0] == '_') {
|
||
|
console.log('Private method "' + e.doclet.longname + '" not documented.');
|
||
|
e.doclet.memberof = '<anonymous>';
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
};
|