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

Write YARD docs for public API #99

Open
julianrubisch opened this issue Jan 19, 2021 · 7 comments
Open

Write YARD docs for public API #99

julianrubisch opened this issue Jan 19, 2021 · 7 comments

Comments

@julianrubisch
Copy link
Contributor

This would help with code intellisense tool such as Language Servers (Solargraph)

@leastbad
Copy link
Contributor

I don't know anything about YARD. How would we get from A to B? Is there an automated process or would someone have to convert everything to a new format?

@julianrubisch
Copy link
Contributor Author

Annotated source code... I started a bit exemplary docs in #100

@marcoroth
Copy link
Member

We should probably make sure it's compatible with sord for example so we also get RBS annotations for free! 😊

@julianrubisch
Copy link
Contributor Author

That’s one of my intended side effects, yep

@leastbad
Copy link
Contributor

OH, I had no idea that the structure and format of those comments was significant.

Yeah, this doesn't seem painful at all. Good call, Julian!

@jaredcwhite
Copy link
Contributor

YARD + Solargraph = *chef's kiss*

@julianrubisch
Copy link
Contributor Author

I still think this could be of value, and should be a good practice for writing libraries in general.

The problem is tooling - does anyone know of something that helps me remember the YARD syntax? 😬

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

No branches or pull requests

5 participants