forked from chairemobilite/evolution
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add scripts to produce documentation using jsdoc
fixes chairemobilite#591 Add yarn scripts to generate documentation for the `evolution-common` javascript code. TODO * Document the typescript code instead, so that the types are also documented * Document all the evolution packages, not just `common` * Provide a higher level "glue" to document high level concepts that can then link to the jsdoc complete documentation of the packages. To use this commit, you need to install `jsdoc` globally on your system with `npm i -g jsdoc`
- Loading branch information
Showing
3 changed files
with
26 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"plugins": ["plugins/markdown"], | ||
"recurseDepth": 10, | ||
"opts": { | ||
"destination": "../../docs/api", | ||
"recurse": true | ||
}, | ||
"source": { | ||
"include": ["./lib", "../../README.md"], | ||
"includePattern": ".+\\.js(doc|x)?$", | ||
"excludePattern": ".+\\.test\\.js(doc|x)?$" | ||
}, | ||
"sourceType": "module", | ||
"tags": { | ||
"allowUnknownTags": true, | ||
"dictionaries": ["jsdoc"] | ||
}, | ||
"templates": { | ||
"cleverLinks": false, | ||
"monospaceLinks": false | ||
} | ||
} |
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