git: fae551b76785 - main - style.mdoc: Li macro is undeprecated for some time
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 Mar 2026 11:15:36 UTC
The branch main has been updated by ziaee:
URL: https://cgit.FreeBSD.org/src/commit/?id=fae551b76785d2357b09e2c022a92f410d871b9b
commit fae551b76785d2357b09e2c022a92f410d871b9b
Author: Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-03-02 10:20:01 +0000
Commit: Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-03-02 10:54:26 +0000
style.mdoc: Li macro is undeprecated for some time
Previously, the mdoc linter warned against using Li as it was deprecated
upstream. However, upstream undeprecated it since last year. As usual
when it comes to style, the best thing to do is to follow the existing
style of the page. We have many manuals which prefer double quotes.
MFC after: 3 days
Citation: https://cvsweb.bsd.lv/mandoc/mdoc.7?rev=1.297
Differential Revision: https://reviews.freebsd.org/D55297
---
share/man/man5/style.mdoc.5 | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/share/man/man5/style.mdoc.5 b/share/man/man5/style.mdoc.5
index 98cc516ffd64..e0c41915ecb1 100644
--- a/share/man/man5/style.mdoc.5
+++ b/share/man/man5/style.mdoc.5
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
-.Dd October 24, 2025
+.Dd February 16, 2025
.Dt STYLE.MDOC 5
.Os
.Sh NAME
@@ -41,14 +41,6 @@ which renders as:
Then run
.Ql Nm make Cm install Cm clean .
.Ed
-.It
-The
-.Sy \&Ql
-macro is the preferred macro for formatting literal inline fragments.
-Historically,
-.Sy \&Dq \&Li
-was the preferred way before the deprecation of
-.Sy \&Li .
.El
.Ss Copyright Header
Refer to