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 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
.