Skip to content

Split combined manpage into individual ones for each command#15509

Merged
straight-shoota merged 2 commits intocrystal-lang:masterfrom
straight-shoota:docs/split-manpages
Feb 26, 2025
Merged

Split combined manpage into individual ones for each command#15509
straight-shoota merged 2 commits intocrystal-lang:masterfrom
straight-shoota:docs/split-manpages

Conversation

@straight-shoota
Copy link
Member

@straight-shoota straight-shoota commented Feb 23, 2025

This patch extracts the documentation for each crystal subcommand into its own manpage. This is just shifting content around, without chaning contents. I'm only adding/adjusting the header information for each command structured into name, synopsis, description and options sections.

Some commands are missing documentation entirely, they're not getting their own manpage right now.

The page crystal(1) still contains some content that'll need to be moved to other places. That'll be addressed in follow-ups.

If you want to review the generated manpages, you'll need asciidoctor installed. Then you can run make man/ to build and man man/* to open all pages.

@straight-shoota straight-shoota added this to the 1.16.0 milestone Feb 23, 2025
@straight-shoota straight-shoota modified the milestone: 1.16.0 Feb 24, 2025
@straight-shoota straight-shoota merged commit b3a5b12 into crystal-lang:master Feb 26, 2025
32 checks passed
@straight-shoota straight-shoota deleted the docs/split-manpages branch February 26, 2025 08:29
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.

2 participants