Don't document private methods

This commit is contained in:
Eric Vicenti 2015-03-25 12:21:40 -07:00
parent 3b5c2617c5
commit 6271f81a60
1 changed files with 3 additions and 1 deletions

View File

@ -219,7 +219,9 @@ var APIDoc = React.createClass({
renderMethods: function(methods) {
return (
<div className="props">
{methods.map(this.renderMethod)}
{methods.filter((method) => {
return method.name[0] !== '_';
}).map(this.renderMethod)}
</div>
);
},