This repository has been archived by the owner on Jul 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs : fixes and enhancements for the documentation template. (#3596)
* Docs : fixes and enhancements for the documentation template. This is an evolutionary update for the `jsdoc` document generation. - Added functionality to retrieval of data comments - Added partial for generating documentation in the method tables. - Moved commenting to source for `Network#clusterOutliers`. This was used as a case example. - Adjustment to CSS to get the decription text margins same as original - Added step to generate documentation to release checklist - Fixed some commenting which `jsdoc` couldn't handle * Fixes for linting
- Loading branch information
1 parent
508af93
commit bd668c5
Showing
7 changed files
with
72 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?js | ||
// | ||
// Output the HTML for showing a method description in a method table. | ||
// | ||
var methodName = obj; | ||
var self = this; | ||
var comment = self.getComment(methodName); | ||
?> | ||
<tr class="collapsible toggle" onclick="toggleTable('methodTable','<?js= comment.name ?>', this);"> | ||
<td colspan="2"><span parent="<?js= comment.name ?>" class="right-caret" id="method_<?js= comment.name ?>"></span> | ||
<?js= comment.prototype ?> | ||
</tr> | ||
<tr class="hidden" parent="<?js= comment.name ?>"> | ||
<td class="midMethods">Returns: <?js= comment.returns ?></td> | ||
<td> | ||
<?js= comment.description ?> | ||
</td> | ||
</tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters