[PATCH 2/2] nmbug-status: make output title and blurb configurable

2014-03-13 Thread Jani Nikula
Make nmbug-status more generally usable outside of nmbug by not hardcoding notmuch related things. This lets anyone publish html search views to mailing list messages with a custom config file, independent of nmbug. --- devel/nmbug/nmbug-status | 32 +++-

[PATCH 1/2] nmbug-status: parametrize title and blurb in the page header

2014-03-13 Thread Jani Nikula
Prepare for more general use. --- devel/nmbug/nmbug-status |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status index 6b2572c..cb3901f 100755 --- a/devel/nmbug/nmbug-status +++ b/devel/nmbug/nmbug-status @@ -249,7

[Patch v3 4/4] doc: cosmetic fix for prerst2man.py

2014-03-13 Thread David Bremner
Fix a particular egregious combination of format and string concatenation. --- doc/prerst2man.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/prerst2man.py b/doc/prerst2man.py index 720deb6..4591264 100644 --- a/doc/prerst2man.py +++ b/doc/prerst2man.py @@ -59,4 +59,5

[Patch v3 2/4] doc: build man pages into hierarchy, fix help test.

2014-03-13 Thread David Bremner
It turns out there was a reason the old man pages were stored in a man compatible hierarchy, namely so that we could run man on them before installing. Hardcode doc build location into test suite. This isn't ideal, but let's unbreak the test suite for now. --- doc/Makefile.local | 11

[Patch v3 1/4] doc: build man pages at build time; introduce HAVE_SPHINX, HAVE_RST2MAN

2014-03-13 Thread David Bremner
This helps avoid build artifacts (namely, nroff and gzipped-nroff man pages) owned by root. The variables allow choosing which generator to use for the man page. These will be hooked to configure in a following commit. --- Makefile.local | 2 +- doc/Makefile.local | 31

No subject

2014-03-13 Thread David Bremner
Several people observed a problem with the test T010-help not finding the man pages anymore. To fix that, I had change the previous fix: instead of flattening the rst2man output into one directory, I had to move the sphinx output into a hierarchy. Patches 1 and 3 should be the same as

[PATCH 2/2] nmbug-status: make output title and blurb configurable

2014-03-13 Thread Jani Nikula
Make nmbug-status more generally usable outside of nmbug by not hardcoding notmuch related things. This lets anyone publish html search views to mailing list messages with a custom config file, independent of nmbug. --- devel/nmbug/nmbug-status | 32 +++-

[PATCH 0/2] nmbug-status: make title/blurb configurable

2014-03-13 Thread Jani Nikula
This lets me use nmbug-status for publishing search views in html outside of the nmbug context. I'm sure especially 2/2 can be done better. If someone wants to use their mad python skillz to improve this, it would be great. ;) BR, Jani. Jani Nikula (2): nmbug-status: parametrize title and

[PATCH 1/2] nmbug-status: parametrize title and blurb in the page header

2014-03-13 Thread Jani Nikula
Prepare for more general use. --- devel/nmbug/nmbug-status |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status index 6b2572c..cb3901f 100755 --- a/devel/nmbug/nmbug-status +++ b/devel/nmbug/nmbug-status @@ -249,7

Re: [PATCH 0/2] nmbug-status: make title/blurb configurable

2014-03-13 Thread W. Trevor King
On Thu, Mar 13, 2014 at 01:04:03PM +0100, Jani Nikula wrote: This lets me use nmbug-status for publishing search views in html outside of the nmbug context. I'm sure especially 2/2 can be done better. If someone wants to use their mad python skillz to improve this, it would be great. ;) Both