[darcs-users] darcsweb and reStructuredText

Max Battcher me at worldmaker.net
Sat Sep 24 05:20:12 UTC 2005


I mentioned it to Alberto for possible integration into the main 
darcsweb trunk, but I've put a quick hack together to parse patch 
comments through the reStructuredText (RST) parser.

To make it a useable patch for more people I would probably want to make 
it a configuration option (possibly per-repo configuration), but before 
I did that I was curious if anyone else would be interested in that.

For those that don't know:  RST is a document markup format that looks 
somewhat Wiki-like (if you've ever played with a wiki markup language) 
and was built to make it look decent whether you are reading it plain 
text (``darcs changes``) or HTML-ized (darcsweb).  It is sometimes used 
in Python Documentation.

Here's what RST looks like from a formatting standpoint:
http://docutils.sourceforge.net/docs/user/rst/quickstart.html

Here's what RST looks like with simple CSS styling in my most recently 
active log:
http://ox.slug.louisville.edu/~mjbatt01/cgi-bin/darcsweb.cgi?r=gamegardens;a=log

-- 
--Max Battcher--
http://www.worldmaker.net/




More information about the darcs-users mailing list