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

Add ability to document .jsx and .tsx (React JSX) files #11

Merged
merged 2 commits into from
Feb 18, 2019

Conversation

narration-sd
Copy link
Contributor

two small changes to add the .jsx file type, after which vuepress-jsdoc appears to operate with jsdoc inside them.

It's a bit funny yet with ES6 arrow functions, and the position for class jsdoc seems to need to be above the class rather than within it, but very happy to have this tool, and imagine those issues will sort out independent of this PR. Thanks.

@ph1p
Copy link
Owner

ph1p commented Feb 18, 2019

Thanks! if you add tsx, I'll merge it (: https://www.typescriptlang.org/docs/handbook/jsx.html

@narration-sd
Copy link
Contributor Author

Fair enough...and done!

@narration-sd narration-sd changed the title Add ability to document .jsx (React JSX) files Add ability to document .jsx and .tsx (React JSX) files Feb 18, 2019
@ph1p ph1p merged commit db628ce into ph1p:master Feb 18, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants