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

Emit a NAME section properly formatted for whatis parsing #124

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

corhere
Copy link
Contributor

@corhere corhere commented Aug 9, 2024

Suppress .PP tags immediately following headers, and transform the first hyphen in the NAME section text to \- so that generated man-pages follow the conventions required for proper indexing.

This does not affect the typeset output of man pages.

Paragraph tags following headers are not necessary and confuse semantic
parsers such as lexgrog.

Signed-off-by: Cory Snider <csnider@mirantis.com>
This is the required format for man-page parsers across the ecosystem to
successfuly parse out whatis information.

Signed-off-by: Cory Snider <csnider@mirantis.com>
@cpuguy83 cpuguy83 merged commit 6350b8a into cpuguy83:master Sep 12, 2024
5 checks passed
@corhere corhere deleted the fix-whatis branch September 12, 2024 19:33
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.

Produces bad whatis entries
2 participants