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

Generate toplevel docs correctly #7063

Conversation

makenowjust
Copy link
Contributor

Fixed #6637

Until now crystal docs needs to define public toplevel method for generating toplevel.html. It seems a bug.

By this fix, toplevel.html is generated only if public toplevel constant, method or macro is defined under your project. I think it is proper behavior.

Thank you.

Fixed crystal-lang#6637

Until now `crystal docs` needs to define public toplevel method for
generating `toplevel.html`. It seems a bug.

By this fix, `toplevel.html` is generated only if public toplevel constant,
method or macro is defined under your project.
I think it is proper behavior.
@bcardiff bcardiff added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:tools labels Nov 12, 2018
@RX14 RX14 added this to the 0.27.1 milestone Nov 13, 2018
@RX14 RX14 merged commit 2d4e955 into crystal-lang:master Nov 13, 2018
@makenowjust makenowjust deleted the fix/6637-generate-toplevel-docs-correctly branch November 13, 2018 15:11
straight-shoota added a commit to straight-shoota/crystal that referenced this pull request Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:tools:docs-generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No docs for constant if there's no method defined on the Top Level Namespace
3 participants