Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscode with type script : jsdoc -> rst #10

Open
yboujraf opened this issue Apr 22, 2020 · 0 comments
Open

vscode with type script : jsdoc -> rst #10

yboujraf opened this issue Apr 22, 2020 · 0 comments

Comments

@yboujraf
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant