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

[swift] Parse Swift function comment into each arg/return type #17

Open
cjbrooks12 opened this issue Dec 20, 2019 · 2 comments
Open

[swift] Parse Swift function comment into each arg/return type #17

cjbrooks12 opened this issue Dec 20, 2019 · 2 comments

Comments

@cjbrooks12
Copy link
Member

From orchidhq/Orchid #343, parse comment text from a function into each arg. Also, make the return type null if the function returns void.

@RiuHDuo
Copy link

RiuHDuo commented Dec 20, 2019

I thought this jazzy file may be useful for you.

sourcekitten decodes swift files to json.
Every function's comment is in the key.doc.comment.
I saw jazzy will decode the comment content when rendering these markdown text to html by using regexp

@cjbrooks12
Copy link
Member Author

That file looks like it will be very helpful, thank you!

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

2 participants