git: 1db695e37ad2 - stable/15 - style.mdoc.5: Document Nd style

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Thu, 18 Jun 2026 11:55:25 UTC
The branch stable/15 has been updated by 0mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=1db695e37ad276282c63d8fc78424afdf10f530f

commit 1db695e37ad276282c63d8fc78424afdf10f530f
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2026-06-13 10:54:09 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2026-06-18 11:55:06 +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
    
    (cherry picked from commit 4ef1a73c22f8cd07f733bdeb6ff49da28ea8aa93)
---
 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