Skip to content

Commit

Permalink
Make display of private symbols optional. Closes jsdoc#44.
Browse files Browse the repository at this point in the history
  • Loading branch information
micmath committed Oct 11, 2011
1 parent badf1fc commit 5c47302
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "JSDoc",
"version": "3.0.0alpha",
"revision": "1317933183738",
"revision": "1318321029363",
"description": "An automatic documentation generator for javascript.",
"keywords": [ "documentation", "javascript" ],
"licenses": [
Expand Down
1 change: 1 addition & 0 deletions rhino_modules/jsdoc/opts/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ argParser.addOption('c', 'configure', true, 'The path to the configuration fi
argParser.addOption('e', 'encoding', true, 'Assume this encoding when reading all source files. Default: utf-8');
argParser.addOption('T', 'test', false, 'Run all tests and quit.');
argParser.addOption('d', 'destination', true, 'The path to the output folder. Use "console" to dump data to the console. Default: console');
argParser.addOption('p', 'private', false, 'Display symbols marked with the @private tag. Default: false.');
argParser.addOption('r', 'recurse', false, 'Recurse into subdirectories when scanning for source code files.');
argParser.addOption('h', 'help', false, 'Print this message and quit.');
argParser.addOption('X', 'explain', false, 'Dump all found doclet internals to console and quit.');
Expand Down
1 change: 1 addition & 0 deletions templates/default/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@

data.remove({undocumented: true});
data.remove({ignore: true});
if (!opts.private) { data.remove({access: 'private'}); }
data.remove({memberof: '<anonymous>'});

var packageInfo = (find({kind: 'package'}) || []) [0];
Expand Down

0 comments on commit 5c47302

Please sign in to comment.