Fix mdoc(7) warnings in docs/iamb.5#621
Open
stevenpollack wants to merge 1 commit into
Open
Conversation
Remove blank lines inside and outside .Bl/.El list blocks, add the missing .El to close the .Bl list in the MOUSE section, and remove the extraneous .El calls that were compensating for the missing one. Running `man ./docs/iamb.5 2>&1 | grep -c "mdoc warning"` now returns 0. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
|
@VAWVAW I decided to fix some mdoc(7) warnings that surfaced when updating the docs in my other PR. I suspect the empty lines are intentional, but just in case you wanted a clean bill: here you go. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.Bl/.Ellist blocks (between.Itentries) — bare blank lines are invalid in mdoc and produce "Empty input line" warnings.Elto close the.Bl -tag -width Dslist in the MOUSE section, which was left open and caused downstream structural problems.Elcalls that had been added to compensate for the missing one in later sections (SORTING LISTS).Sh/.Ssheadings and content, between prose paragraphs) that also triggered "Empty input line" warnings; paragraph breaks are represented with.Ppwhere neededRunning
man ./docs/iamb.5 2>&1 | grep -c "mdoc warning"returns 0 after this change (down from 76).Test plan
man ./docs/iamb.5 2>&1 | grep -c "mdoc warning"and confirm the output is0man ./docs/iamb.5and verify the rendered output looks correct🤖 Generated with Claude Code