Skip to content

Conversation

straight-shoota
Copy link
Member

This is the easiest implementation attaching the documentation directly in the compiler where the constants are defined.
Further enhancements to allow hooking into constant documentation from stdlib would be possible. Use cases are limited, so I'm not sure if there would be much value in it. This is definitely a helpful improvement.

Resolves #14085

@straight-shoota straight-shoota added this to the 1.12.0 milestone Jan 30, 2024
@straight-shoota straight-shoota merged commit 2f48d29 into crystal-lang:master Jan 31, 2024
@straight-shoota straight-shoota deleted the docs/builtin-constants branch January 31, 2024 21:28
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.

Document builtin constants

3 participants