[PATCH 4/4] doc: use hyperlinks for config options in notmuch-insert(1)

Subject: [PATCH 4/4] doc: use hyperlinks for config options in notmuch-insert(1)

Date: Sun, 6 Feb 2022 10:23:34 -0400

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


The tradeoff is no bold/italic in the man pages to get actual
hyperlinks in the html output.
---
 doc/man1/notmuch-config.rst | 2 ++
 doc/man1/notmuch-insert.rst | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/doc/man1/notmuch-config.rst b/doc/man1/notmuch-config.rst
index 84a9e023..acc5ecec 100644
--- a/doc/man1/notmuch-config.rst
+++ b/doc/man1/notmuch-config.rst
@@ -85,6 +85,8 @@ database.hook_dir
 
     Default: See HOOKS, below.
 
+.. _database.mail_root:
+
 database.mail_root
     The top-level directory where your mail currently exists and to
     where mail will be delivered in the future. Files should be
diff --git a/doc/man1/notmuch-insert.rst b/doc/man1/notmuch-insert.rst
index 8d91d62a..fe2bf26b 100644
--- a/doc/man1/notmuch-insert.rst
+++ b/doc/man1/notmuch-insert.rst
@@ -14,12 +14,12 @@ DESCRIPTION
 
 **notmuch insert** reads a message from standard input and delivers it
 into the maildir directory given by configuration option
-**database.mail_root**, then incorporates the message into the notmuch
+:ref:`database.mail_root <database.mail_root>`, then incorporates the message into the notmuch
 database. It is an alternative to using a separate tool to deliver the
 message then running :any:`notmuch-new(1)` afterwards.
 
 The new message will be tagged with the tags specified by the
-**new.tags** configuration option, then by operations specified on the
+:ref:`new.tags <new.tags>` configuration option, then by operations specified on the
 command-line: tags prefixed by '+' are added while those prefixed by '-'
 are removed.
 
@@ -86,7 +86,7 @@ Supported options for **insert** include
    ``--decrypt=nostash`` without considering the security of your
    index.
 
-   See also ``index.decrypt`` in :any:`notmuch-config(1)`.
+   See also :ref:`index.decrypt <index.decrypt>` in :any:`notmuch-config(1)`.
 
 CONFIGURATION
 =============
-- 
2.34.1

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: