Re: [RFC Patch v3 2/3] doc: add target rst2man to build man pages using rst2man
[notmuch-archives.git] / 65 / d5edc1f277837b0c5c46f2515b5b875131fe1d
1 Return-Path: <david@tethera.net>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 1FA8E431FD9\r
6         for <notmuch@notmuchmail.org>; Sun, 23 Feb 2014 15:57:21 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id N0t0IfWhwT1K for <notmuch@notmuchmail.org>;\r
16         Sun, 23 Feb 2014 15:57:17 -0800 (PST)\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
18         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 91586431FCF\r
21         for <notmuch@notmuchmail.org>; Sun, 23 Feb 2014 15:57:17 -0800 (PST)\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
23         (envelope-from <david@tethera.net>)\r
24         id 1WHiv5-0000Uf-V5; Sun, 23 Feb 2014 19:57:15 -0400\r
25 Received: (nullmailer pid 19261 invoked by uid 1000); Sun, 23 Feb 2014\r
26         23:57:11 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
29 Subject: Re: [RFC Patch v3 2/3] doc: add target rst2man to build man pages\r
30         using rst2man\r
31 In-Reply-To: <m24n3pu3nm.fsf@guru.guru-group.fi>\r
32 References: <87fvo7btu8.fsf@qmul.ac.uk>\r
33         <1393114575-8756-1-git-send-email-david@tethera.net>\r
34         <1393114575-8756-3-git-send-email-david@tethera.net>\r
35         <m24n3pu3nm.fsf@guru.guru-group.fi>\r
36 User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1\r
37         (x86_64-pc-linux-gnu)\r
38 Date: Sun, 23 Feb 2014 19:57:11 -0400\r
39 Message-ID: <8761o5z8ko.fsf@zancas.localnet>\r
40 MIME-Version: 1.0\r
41 Content-Type: text/plain\r
42 X-BeenThere: notmuch@notmuchmail.org\r
43 X-Mailman-Version: 2.1.13\r
44 Precedence: list\r
45 List-Id: "Use and development of the notmuch mail system."\r
46         <notmuch.notmuchmail.org>\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
50 List-Post: <mailto:notmuch@notmuchmail.org>\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
54 X-List-Received-Date: Sun, 23 Feb 2014 23:57:21 -0000\r
55 \r
56 Tomi Ollila <tomi.ollila@iki.fi> writes:\r
57 \r
58 > Anyway, I tried to build manual pages using 'make man' and got this:\r
59 >\r
60 >   $ make man\r
61 >   sphinx-build -b man -d doc/_build/doctrees -q -c doc doc doc/_build/man\r
62 >   Sphinx error:\r
63 >   Builder name man not registered\r
64 \r
65 It seems you need sphinx version 1.0, from July 2010 for the man\r
66 builder.\r
67 \r
68 > No fallback to use rst2man...\r
69 \r
70 I don't really plan on an automatic fallback. There is currently a\r
71 separate target rst2man.  I'm open to better names for the targets.\r
72 \r
73 > Comments regarding prerst2man.py inline below:\r
74 \r
75 Yeah, I'm sure there's lots that could be improved with that script. But\r
76 I'll wait until I see if the general approach is acceptable.\r
77 \r
78 d\r