An RDoc Wiki

Eric Hodel | Fri, 15 Feb 2008 00:14:37 GMT

Posted in ,

For fun, I wrote a 200 line wiki a couple of weeks ago using WEBrick and RDoc withRCS as the only external dependency for history. You’ll need a recent build of Ruby 1.9 or Rubinius to run it:

rdoc_wiki.rb

It uses RDoc’s markup for formatting, and stores its content into ~/.rdocwiki as plain text files.

RdocWiki has one special page, /WikiCss that you can use to style things, here’s what I used:

#wiki_edit textarea {
  width: 40em;
  height: 20em;
}
#wiki_edit input {
  display: block;
}
#wiki_restore {
  display: inline;
}

I’d run a copy on Rubinius for you to use, but currently Rubinius is broken on FreeBSD.

no comments

Comments RSS FEED

Comments are disabled