Skip to content

vscode with type script : jsdoc -> rst #10

@yboujraf

Description

@yboujraf

Dear,

I installed the npm package but the when executing the script, we have this error

`$ npm run docs-sphinx

@by-research/[email protected] docs-sphinx C:\Git\by-research\smh - connectors\smh-connector-lib\smh-template-connector-lib
jsdoc -t node_modules/jsdoc-sphinx/template -d ./docs-sphinx/ ./src/command/rx/001-crosspoint-interrogate-message/*.ts

ERROR: Unable to find the source file or directory C:\Git\by-research\smh - connectors\smh-connector-lib\smh-template-connector-lib\src\command\rx\001-crosspoint-interrogate-message*.ts
There are no input files to process.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @by-research/[email protected] docs-sphinx: jsdoc -t node_modules/jsdoc-sphinx/template -d ./docs-sphinx/ ./src/command/rx/001-crosspoint-interrogate-message/*.ts
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @by-research/[email protected] docs-sphinx script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ybouj\AppData\Roaming\npm-cache_logs\2020-04-22T10_47_57_025Z-debug.log`
Which is the correct script to convert all my /src folder and all the files are .ts

jsdoc -t node_modules/jsdoc-sphinx/template -d OUTPUT_DIR JS_SOURCE_DIR/FILE

Best Regards,
Youssef

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions