Re: static html site from Gitit wiki

64 views
Skip to first unread message

Gwern Branwen

unread,
Aug 20, 2012, 1:27:36 PM8/20/12
to gitit-...@googlegroups.com
On Mon, Aug 20, 2012 at 11:07 AM, David Ketcheson <dke...@gmail.com> wrote:
> I have a private Gitit wiki and I'd like to publish some parts of it as a
> set of static html pages. I'm throwing together a Python script to do this
> by calling pandoc on each file, but it's messy and the links between pages
> seem to get messed up. Is there a known good way to do what I'm attempting?

I tried doing such a thing with wget on my local Gitit, but it didn't
turn out very well. My ultimate solution was simply using Hakyll:
http://jaspervdj.be/hakyll/

Not the easiest site generator in the world, but once you've gotten it
set up, the results can be pretty nice.

--
gwern
http://www.gwern.net

John MacFarlane

unread,
Aug 20, 2012, 6:03:54 PM8/20/12
to gitit-...@googlegroups.com
I would think it would be easiest to run the wiki locally and scrape
the HTML page contents with TagSoup, beautiful soup, or some such
library. Then the wikilinks will work properly, etc.

+++ Gwern Branwen [Aug 20 12 13:27 ]:
> --
> You received this message because you are subscribed to the Google Groups "gitit-discuss" group.
> To post to this group, send email to gitit-...@googlegroups.com.
> To unsubscribe from this group, send email to gitit-discus...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/gitit-discuss?hl=en.
>
Reply all
Reply to author
Forward
0 new messages