Skip to content

Fix mdoc(7) warnings in docs/iamb.5#621

Open
stevenpollack wants to merge 1 commit into
ulyssa:mainfrom
stevenpollack:fix-iamb5-mdoc-warnings
Open

Fix mdoc(7) warnings in docs/iamb.5#621
stevenpollack wants to merge 1 commit into
ulyssa:mainfrom
stevenpollack:fix-iamb5-mdoc-warnings

Conversation

@stevenpollack

@stevenpollack stevenpollack commented Jun 3, 2026

Copy link
Copy Markdown

Summary

  • Remove blank lines inside .Bl/.El list blocks (between .It entries) — bare blank lines are invalid in mdoc and produce "Empty input line" warnings
  • Add the missing .El to close the .Bl -tag -width Ds list in the MOUSE section, which was left open and caused downstream structural problems
  • Remove the extraneous .El calls that had been added to compensate for the missing one in later sections (SORTING LISTS)
  • Remove blank lines outside list blocks (between .Sh/.Ss headings and content, between prose paragraphs) that also triggered "Empty input line" warnings; paragraph breaks are represented with .Pp where needed

Running man ./docs/iamb.5 2>&1 | grep -c "mdoc warning" returns 0 after this change (down from 76).

Test plan

  • Run man ./docs/iamb.5 2>&1 | grep -c "mdoc warning" and confirm the output is 0
  • Run man ./docs/iamb.5 and verify the rendered output looks correct

🤖 Generated with Claude Code

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>
@stevenpollack

stevenpollack commented Jun 3, 2026

Copy link
Copy Markdown
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.

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.

1 participant