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 documentation support for lib, fun, union, cstruct, external, and type (RFC #0011) #15447

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

nobodywasishere
Copy link
Contributor

@nobodywasishere nobodywasishere commented Feb 11, 2025

Second part of splitting up #15294.

Closes #6721

@@ -575,6 +575,7 @@ module Crystal
include SpecialVar

property name : String
property doc : String?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: This looks surprising, but Var is used for the fields of CStructOrUnionDef (see Parser#parse_c_struct_or_union_fields).

src/compiler/crystal/tools/doc/method.cr Outdated Show resolved Hide resolved
src/compiler/crystal/tools/doc/method.cr Outdated Show resolved Hide resolved
nobodywasishere and others added 2 commits February 11, 2025 07:31
Co-authored-by: Johannes Müller <straightshoota@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improving crystal docs for C bindings
4 participants