From 97955ecb54dfd5bc34f9f3bc56a0df41c50cd371 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Mon, 24 Feb 2014 19:57:11 +2000 Subject: [PATCH] Re: [RFC Patch v3 2/3] doc: add target rst2man to build man pages using rst2man --- 65/d5edc1f277837b0c5c46f2515b5b875131fe1d | 78 +++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 65/d5edc1f277837b0c5c46f2515b5b875131fe1d diff --git a/65/d5edc1f277837b0c5c46f2515b5b875131fe1d b/65/d5edc1f277837b0c5c46f2515b5b875131fe1d new file mode 100644 index 000000000..8b1af4bfe --- /dev/null +++ b/65/d5edc1f277837b0c5c46f2515b5b875131fe1d @@ -0,0 +1,78 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 1FA8E431FD9 + for ; Sun, 23 Feb 2014 15:57:21 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id N0t0IfWhwT1K for ; + Sun, 23 Feb 2014 15:57:17 -0800 (PST) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 91586431FCF + for ; Sun, 23 Feb 2014 15:57:17 -0800 (PST) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1WHiv5-0000Uf-V5; Sun, 23 Feb 2014 19:57:15 -0400 +Received: (nullmailer pid 19261 invoked by uid 1000); Sun, 23 Feb 2014 + 23:57:11 -0000 +From: David Bremner +To: Tomi Ollila , notmuch@notmuchmail.org +Subject: Re: [RFC Patch v3 2/3] doc: add target rst2man to build man pages + using rst2man +In-Reply-To: +References: <87fvo7btu8.fsf@qmul.ac.uk> + <1393114575-8756-1-git-send-email-david@tethera.net> + <1393114575-8756-3-git-send-email-david@tethera.net> + +User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Sun, 23 Feb 2014 19:57:11 -0400 +Message-ID: <8761o5z8ko.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sun, 23 Feb 2014 23:57:21 -0000 + +Tomi Ollila writes: + +> Anyway, I tried to build manual pages using 'make man' and got this: +> +> $ make man +> sphinx-build -b man -d doc/_build/doctrees -q -c doc doc doc/_build/man +> Sphinx error: +> Builder name man not registered + +It seems you need sphinx version 1.0, from July 2010 for the man +builder. + +> No fallback to use rst2man... + +I don't really plan on an automatic fallback. There is currently a +separate target rst2man. I'm open to better names for the targets. + +> Comments regarding prerst2man.py inline below: + +Yeah, I'm sure there's lots that could be improved with that script. But +I'll wait until I see if the general approach is acceptable. + +d -- 2.26.2