Skip to content

Conversation

@skatkov
Copy link
Owner

@skatkov skatkov commented Dec 16, 2024

Yard object have tags linked to them

https://rubydoc.info/gems/yard/file/docs/TagsArch.md

These tags contain a lot of useful information - returned type, accepted attributes, deprecation notices, links to more documentation and etc.

It's a pity that yard-markdown doesn't include that information, this is a PR that resolves that. I'm going through all possible tags that CodeObject has associated and adding them to output.

Technical part

I added example_yard.rb file that we can use to generate yard example, that has these yard tags. example.rb go renamed to example_rdoc.rb to align with this naming.

@skatkov skatkov changed the title Yard Tags integration in templates WIP: Yard Tags integration in templates Dec 16, 2024
@skatkov skatkov changed the title WIP: Yard Tags integration in templates Adding Yard Tags into a template Dec 16, 2024
@skatkov skatkov merged commit 90288af into main Dec 16, 2024
1 check passed
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.

1 participant