git: 4ef1a73c22f8 - main - style.mdoc.5: Document Nd style

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Sat, 13 Jun 2026 10:57:50 UTC
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=4ef1a73c22f8cd07f733bdeb6ff49da28ea8aa93

commit 4ef1a73c22f8cd07f733bdeb6ff49da28ea8aa93
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2026-06-13 10:54:09 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2026-06-13 10:57:05 +0000

    style.mdoc.5: Document Nd style
    
    The Nd macro takes the rest of the line as an argument,
    so there is no need for extra quoting.
    
    MFC after:      3 days
---
 share/man/man5/style.mdoc.5 | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/share/man/man5/style.mdoc.5 b/share/man/man5/style.mdoc.5
index c4c2aa7b3695..0c1da38d918b 100644
--- a/share/man/man5/style.mdoc.5
+++ b/share/man/man5/style.mdoc.5
@@ -1,9 +1,9 @@
 .\"
-.\" Copyright (c) 2018-2025 Mateusz Piotrowski <0mp@FreeBSD.org>
+.\" Copyright (c) 2018-2026 Mateusz Piotrowski <0mp@FreeBSD.org>
 .\"
 .\" SPDX-License-Identifier: BSD-2-Clause
 .\"
-.Dd February 16, 2025
+.Dd June 13, 2026
 .Dt STYLE.MDOC 5
 .Os
 .Sh NAME
@@ -13,6 +13,13 @@
 This file specifies the preferred style for manual pages in the
 .Fx
 source tree.
+.Ss NAME Section
+.Bl -dash -width ""
+.It
+Do not quote the document description provided to the
+.Sy \&.Nd
+macro.
+.El
 .Ss Code Examples
 .Bl -dash -width ""
 .It