git: 16b643c20d - main - fdp/manual-pages: Canonicalize SYNOPSIS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Aug 2026 17:02:07 UTC
The branch main has been updated by ziaee:
URL: https://cgit.FreeBSD.org/doc/commit/?id=16b643c20d50fa7edd3fe944311c88882ee6af5f
commit 16b643c20d50fa7edd3fe944311c88882ee6af5f
Author: Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-08-28 16:42:06 +0000
Commit: Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-08-28 16:56:26 +0000
fdp/manual-pages: Canonicalize SYNOPSIS
This follows changes made to the source tree to mdoc(7) and example(4).
All of our documentation on driver SYNOPSIS is now consistent.
Discussed with: arch@ (marc.info/?l=freebsd-arch&m=176782215606871)
---
.../content/en/books/fdp-primer/manual-pages/_index.adoc | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/documentation/content/en/books/fdp-primer/manual-pages/_index.adoc b/documentation/content/en/books/fdp-primer/manual-pages/_index.adoc
index 5f3781ecf2..029f66268b 100644
--- a/documentation/content/en/books/fdp-primer/manual-pages/_index.adoc
+++ b/documentation/content/en/books/fdp-primer/manual-pages/_index.adoc
@@ -401,24 +401,18 @@ The preferred basic structure for a section 4 device driver:
[.programlisting]
....
-.Dd August 25, 2017
+.Dd August 28, 2026
.Dt EXAMPLEDRIVER 4
.Os
.Sh NAME
.Nm exampledriver
.Nd "driver to demonstrate section 4 man pages"
.Sh SYNOPSIS
-To compile this driver into the kernel, add this line to the
-kernel configuration file:
-.Bd -ragged -offset indent
-.Cd "device exampledriver"
-.Ed
+.Cd device exampledriver
.Pp
-To load the driver as a module at boot, add this line to
+In
.Xr loader.conf 5 :
-.Bd -literal -offset indent
-exampledriver_load="YES"
-.Ed
+.Cd exampledriver_load="YES"
.Sh DESCRIPTION
The
.Nm