[Sumover-dev] Re: [Media Tools] #173: Man page renderer created for
Trac
Media Tools
SUMOVER-dev at cs.ucl.ac.uk
Wed Apr 2 15:23:05 BST 2008
#173: Man page renderer created for Trac
-----------------------------+----------------------------------------------
Reporter: piers | Owner: piers
Type: enhancement | Status: closed
Priority: minor | Milestone:
Component: CMS/Repository | Version:
Resolution: fixed | Keywords: trac
-----------------------------+----------------------------------------------
Changes (by piers):
* status: new => closed
* resolution: => fixed
Old description:
> The !ManpageRender allows for users to view manual pages (e.g of VIC and
> RAT) from within Trac as HTML. The native man page format didn't make for
> easy reading - thus the automatic render was created.
>
> Specifically the !ManpageRender implements the
> [http://trac.edgewall.org/browser/trunk/trac/mimeview/api.py?rev=5889#
> IHTMLPreviewRenderer] python class which converts the native nroff based
> man page format into HTML using the GNU
> [http://www.gnu.org/software/groff/ groff] program.
>
> This allows the native man pages to be maintained in the Subversion
> repository, whilst giving
> general users the ability to easily view the manual pages.
New description:
The !ManpageRender allows for users to view manual pages (e.g of VIC and
RAT) from within Trac as HTML. The native man page format didn't make for
easy reading - thus the automatic render was created.
Specifically the !ManpageRender implements the
[http://trac.edgewall.org/browser/trunk/trac/mimeview/api.py?rev=5889#
IHTMLPreviewRenderer] python class which converts the native nroff based
man page format (mimetype: application/x-troff-man - which Trac recognises
without the need for an svn propset) into HTML using the GNU
[http://www.gnu.org/software/groff/ groff] program.
This allows the native man pages to be maintained in the Subversion
repository, whilst giving
general users the ability to easily view the manual pages.
--
Ticket URL: <https://frostie.cs.ucl.ac.uk/nets/mmedia/ticket/173>
Media Tools <http://mediatools.cs.ucl.ac.uk/>
Media Tools
More information about the Sumover-dev
mailing list