[MERGE] Pretty docs with Kid
Alexander Belchenko
bialix at ukr.net
Sat Sep 30 10:24:58 BST 2006
Aaron Bentley пишет:
> I've just implemented a way of generating output that matches the wiki.
>
> It works by taking the docutils HTML output and running it through a Kid
> template. Sample output is here:
>
> http://code.aaronbentley.com/configuration.html
>
> Kid templates can be XHTML, and so the kid template for this output
> looks like the front page of the wiki, when viewed directly in a browser.
>
> Post-processing is done to
> 1. turn local links to 'foo.htm' into links to 'foo.html'. This allows
> the pretty pages to coexist with the normal pages
> 2. strip anchor tags, because the bazaar-vcs.org stylesheet is broken
> and treats all <a> tags as links, even when they're <a name='foo>foo</a>.
> 3. remove some inappropriate links
> 4. change the 'Search Bazaar' box to 'Search Wiki'.
I like it.
I hope I could bundle this new sexy-looking documentation in 0.12
release Windows Installers.
--
Alexander
More information about the bazaar
mailing list