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

Provide more useful link in man page #401

Merged

Conversation

marc-vanderwal
Copy link
Contributor

@marc-vanderwal marc-vanderwal commented Dec 2, 2024

Purpose

This PR replaces the text in the “See also” section of the man page/POD documentation in the zonemaster-cli command line utility with some information that I deemed more useful.

The previous text had a link to a Perl package called Zonemaster. But no such package actually exists, so the link is broken. Also, it looks very awkward when reading the man page version of this documentation, because links like these cannot be clicked on and just appear as “Zonemaster”. So the whole section reads as “See also: Zonemaster” in the man page.

Context

Release testing for 2024.2; PR #389.

Changes

  • Rewrite “See also” section;
  • As a drive-by change, some minor edits (e.g. replacing contractions such as “they’re” with their fully expanded equivalents such as “they are”) and removal of one typo.

How to test this PR

Run perldoc -o man script/zonemaster-cli from the root of the code repository and check for correct rendering of the “See also” section.

The “SEE ALSO” section in the man page had a POD link to a Perl package
called Zonemaster. But no such package actually exists; also, it looks
very awkward when reading the man page version of that documentation.

This commit removes the link that had no chance to work, and replaces it
with something more useful.

As a drive-by change, remove some contractions, as they are usually
frowned upon in written text, unless it is informal.
@marc-vanderwal marc-vanderwal added the A-Documentation Area: Documentation only. label Dec 2, 2024
@marc-vanderwal marc-vanderwal added this to the v2024.2 milestone Dec 2, 2024
@matsduf
Copy link
Contributor

matsduf commented Dec 2, 2024

* As a drive-by change, some minor edits (e.g. replacing contractions such as “they’re” with their fully expanded equivalents such as “they are”).

I am for that.

matsduf
matsduf previously approved these changes Dec 2, 2024
script/zonemaster-cli Outdated Show resolved Hide resolved
There were a few more instances of L<Zonemaster> links to be removed.
Once again, they have no chance to work, because no package named
Zonemaster exists on CPAN; only packages for individual Zonemaster
components exist there.
Typo fixed courtesy of @tgreenx.

By additional careful proofreading and running flyspell in Emacs, there
are no other such typos in the documentation.
@matsduf matsduf requested a review from tgreenx December 3, 2024 09:45
@matsduf
Copy link
Contributor

matsduf commented Dec 3, 2024

@marc-vanderwal, please merge.

@marc-vanderwal marc-vanderwal merged commit 41e72cc into zonemaster:develop Dec 3, 2024
1 check passed
@matsduf matsduf added the V-Patch Versioning: The change gives an update of patch in version. label Dec 6, 2024
@marc-vanderwal marc-vanderwal deleted the bugfix/link-in-manpage branch December 19, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Documentation Area: Documentation only. V-Patch Versioning: The change gives an update of patch in version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants