Commit Graph

16 Commits

Author SHA1 Message Date
stanley lieber
e46212286c apps/wman/app.rc: fix columnization 2019-12-07 21:53:38 -05:00
sl
f868bf8769 apps/wman: fix comments and restore template syntax. 2016-02-10 20:34:33 -05:00
sl
32414fdfff initial import of changes from 9front bikeshedding; bundle rc-httpd 2016-02-04 15:05:05 -05:00
Uriel
7327afab9d Two new configuration options for wman:
* wman_tmac (defaults to 'an') to pass as parameter to the -m flag of troff.
* fn wman_out_filter (defaults to calling wman_default_out_filter) to do post-processing (eg., calling col) of man page output.

Also filter out directories starting with _ from man page section listings.
2011-01-09 10:48:18 +00:00
Uriel
83ed78e39e Set some reasonable titles for man pages. 2009-12-07 05:38:42 +00:00
uriel
30f0439673 Display only 20 entries per column in man page listings, this avoids scrillbars most of the time. 2009-10-29 09:47:53 +00:00
uriel
21b75ecd4c Allow overriding the manual section listing page (just create an index.md or index.html in the dir where wman is enabled). 2009-10-25 09:31:01 +00:00
uriel
b27d16a66e Add missing wman search template! Doh. 2009-09-14 01:37:50 +00:00
uriel
85efc8a4b7 Replace nroff reference with troff -N, thanks garbeam! 2009-08-26 00:48:38 +02:00
uriel
310c350d3f Do not set handler if man page doesn't exist so we can provide proper 404 (or other fall-back)
Make 'Intro' page title fixing case-insensitive to deal with Plan B man pages.
2009-05-29 10:04:27 +00:00
uriel
6e52eed94b Don't add extra / to url when we redirect to proper path in wman 2009-04-19 23:56:05 +00:00
uriel
9facd7c1b1 Fix null concat in wman search code. 2009-03-16 23:42:44 +00:00
uriel
a068071801 More wman updates, new search functionality and handle better corner cases. 2009-03-13 10:51:07 +00:00
uriel
ecd3ab13aa Yet another version of wman, templatized, and now Unix man pages use the same path style as Plan 9/Inferno. 2009-03-10 01:16:13 +00:00
uriel
627a0024b2 Big update to wman app. Many fixes and improvements. 2009-03-09 22:16:39 +00:00
uriel
4abcd9fe5b First draft of wman app to browse and display manpages. 2009-03-06 16:32:33 +00:00