From owner-dev-commits-doc-all@freebsd.org Sat Aug 14 14:12:40 2021 Return-Path: Delivered-To: dev-commits-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E08E66DCAC for ; Sat, 14 Aug 2021 14:12:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gn2SS0tMYz3qKH; Sat, 14 Aug 2021 14:12:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 05EFB237C0; Sat, 14 Aug 2021 14:12:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17EECd0f039530; Sat, 14 Aug 2021 14:12:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17EECdtT039529; Sat, 14 Aug 2021 14:12:39 GMT (envelope-from git) Date: Sat, 14 Aug 2021 14:12:39 GMT Message-Id: <202108141412.17EECdtT039529@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: "Danilo G. Baio" Subject: git: e7c0fed0de - main - books/fdp-primer/manual-pages: Add callouts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dbaio X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e7c0fed0dea039b5ed6b87fd9129d7db989cf6e0 Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Aug 2021 14:12:40 -0000 The branch main has been updated by dbaio: URL: https://cgit.FreeBSD.org/doc/commit/?id=e7c0fed0dea039b5ed6b87fd9129d7db989cf6e0 commit e7c0fed0dea039b5ed6b87fd9129d7db989cf6e0 Author: Danilo G. Baio AuthorDate: 2021-08-14 13:57:12 +0000 Commit: Danilo G. Baio CommitDate: 2021-08-14 13:57:12 +0000 books/fdp-primer/manual-pages: Add callouts Callouts markup was missed when converting this document to Hugo/Asciidoctor. --- .../en/books/fdp-primer/manual-pages/_index.adoc | 36 +++++++++++----------- 1 file changed, 18 insertions(+), 18 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 2d2052a805..36b078781c 100644 --- a/documentation/content/en/books/fdp-primer/manual-pages/_index.adoc +++ b/documentation/content/en/books/fdp-primer/manual-pages/_index.adoc @@ -156,18 +156,18 @@ For example, consider this portion of the man:ls[1] manual page: [.programlisting] .... -.Dd December 1, 2015 +.Dd December 1, 2015 <.> .Dt LS 1 -.Sh NAME +.Sh NAME <.> .Nm ls .Nd list directory contents -.Sh SYNOPSIS -.Nm -.Op Fl -libxo -.Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1, -.Op Fl D Ar format -.Op Ar -.Sh DESCRIPTION +.Sh SYNOPSIS <.> +.Nm <.> +.Op Fl -libxo <.> +.Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1, <.> +.Op Fl D Ar format <.> +.Op Ar <.> +.Sh DESCRIPTION <.> For each operand that names a .Ar file of a type other than @@ -184,22 +184,22 @@ within that directory, as well as any requested, associated information. .... -A _Document date_ and _Document title_ are defined. -A _Section header_ for the NAME section is defined. +<.> A _Document date_ and _Document title_ are defined. +<.> A _Section header_ for the NAME section is defined. Then the _Name_ of the command and a one-line _Name description_ are defined. -The SYNOPSIS section begins. +<.> The SYNOPSIS section begins. This section describes the command-line options and arguments accepted. -_Name_ (`.Nm`) has already been defined, and repeating it here just displays the defined value in the text. -An _Optional_ _Flag_ called `-libxo` is shown. +<.> _Name_ (`.Nm`) has already been defined, and repeating it here just displays the defined value in the text. +<.> An _Optional_ _Flag_ called `-libxo` is shown. The `Fl` macro adds a dash to the beginning of flags, so this appears in the manual page as `--libxo`. -A long list of optional single-character flags are shown. -An optional `-D` flag is defined. +<.> A long list of optional single-character flags are shown. +<.> An optional `-D` flag is defined. If the `-D` flag is given, it must be followed by an _Argument_. The argument is a _format_, a string that tells man:ls[1] what to display and how to display it. Details on the format string are given later in the manual page. -A final optional argument is defined. +<.> A final optional argument is defined. Since no name is specified for the argument, the default of `file ...` is used. -The _Section header_ for the DESCRIPTION section is defined. +<.> The _Section header_ for the DESCRIPTION section is defined. When rendered with the command `man ls`, the result displayed on the screen looks like this: