From: Michael Alyn Miller <malyn@st...> - 2006-07-27 22:08:01
> Thus I am turning to you with the question whether you have
> suggestions as to what tool to use? Is there a tool out there --
> command-line only, and it has to have a batch mode -- that uses one
> of the known and established templating engines and can then turn my
> tree of RST files into a website, with proper links and possibly
> even navigation/breadcrumbs?
I had a similar problem when I redesigned my web site. I ended up
writing a tool (restxsl_) to convert reStructuredText into XML, with
an XSL transformation step inserted for the templating phase. I
really like the results and have used this same tool to build a
number of other web sites. Using XSL as the layout/templating
language makes it easy to redesign the site without touching your
Initially I used Jamfiles_ (similar to Makefiles) to build the site,
but that became cumbersome. I wrote another tool called restsite
that uses restxsl to generate XHTML from reST, copy image files,
binaries, etc. restsite is not quite ready for prime time yet. I
hope to finish it in the next couple of weeks.
Hope that helps!
Michael Alyn Miller
.. _restxsl: http://www.strangeGizmo.com/products/restxsl/
.. _Jamfiles: http://www.perforce.com/jam/jam.html
Get latest updates about Open Source Projects, Conferences and News.