Skip to content

Commit

Permalink
jsdoc: add proper ucode->JS transpiler
Browse files Browse the repository at this point in the history
Transpile ucode sources into JavaScript syntax to allow JSdoc to pick up
more source context while parsing annotations.

Signed-off-by: Jo-Philipp Wich <[email protected]>
  • Loading branch information
jow- committed Dec 1, 2021
1 parent ca4ef47 commit 5a2eb44
Show file tree
Hide file tree
Showing 3 changed files with 631 additions and 20 deletions.
6 changes: 3 additions & 3 deletions jsdoc.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
},
"source": {
"include": ["renderer/"],
"includePattern": "renderer.uc"
"includePattern": "\\.uc$"
},
"plugins": [
"plugins/markdown",
"jsondoc/commentOnly"
"jsdoc/ucode-transpiler"
],
"templates": {
"cleverLinks": true,
"monospaceLinks": true,
"default": {
"outputSourceFiles": true
"outputSourceFiles": true
}
},
"opts": {
Expand Down
Loading

0 comments on commit 5a2eb44

Please sign in to comment.