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

Revise title-generation function #7

Closed

Conversation

codesections
Copy link
Member

This PR revises the title-generation function to accept a Vec of Strings. This allows it to accept other arguments that are passed to .TH (such as the date and version). As disscussed in #6, this would be useful to any users of roff-rs that want to configure the date or version for a man page (including man).

It also removes the capitalization, in part because not all of these arguments are capitalized and in part because that degree of semantic formatting (titles need to be capitalized) seems more appropriate for a higher level crate like man.

This commit revises the title-generation function to accept a Vec of
Strings.  This allows it to accept other arguments that are passed to
.TH (such as the date and version).

It also removes the capitalization, in part because not all of these
arguments are capitalized and in part because that degree of semantic
formatting (titles need to be capitalized) seems more appropriate for a
higher level crate like `man`.
@epage
Copy link
Contributor

epage commented Dec 23, 2021

This was addressed in #15

@epage epage closed this Dec 23, 2021
epage added a commit that referenced this pull request Oct 6, 2023
README.md list indentation and no bare URLs, as per Markdown Lint VS Code extension
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.

2 participants