<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Segment7: An RDoc Wiki</title>
    <link>http://blog.segment7.net/articles/2008/02/14/an-rdoc-wiki</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>The Blog</description>
    <item>
      <title>An RDoc Wiki</title>
      <description>&lt;p&gt;For fun, I wrote a 200 line wiki a couple of weeks ago using WEBrick and RDoc with&lt;a href="http://www.gnu.org/software/rcs/"&gt;&lt;span class="caps"&gt;RCS&lt;/span&gt;&lt;/a&gt; as the only external dependency for history.  You&amp;#8217;ll need a recent build of Ruby 1.9 or Rubinius to run it:&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://segment7.net/projects/ruby/snippets/rdoc_wiki.rb"&gt;rdoc_wiki.rb&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;It uses RDoc&amp;#8217;s markup for formatting, and stores its content into ~/.rdocwiki as plain text files.&lt;/p&gt;


	&lt;p&gt;RdocWiki has one special page, /WikiCss that you can use to style things, here&amp;#8217;s what I used:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;#wiki_edit textarea {
  width: 40em;
  height: 20em;
}
#wiki_edit input {
  display: block;
}
#wiki_restore {
  display: inline;
}&lt;/code&gt;&lt;/pre&gt;

	&lt;p&gt;I&amp;#8217;d run a copy on Rubinius for you to use, but currently Rubinius is broken on FreeBSD.&lt;/p&gt;
</description>
      <pubDate>Thu, 14 Feb 2008 16:14:37 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:e185afb3-7cb1-4f34-9d6b-02dd098ab516</guid>
      <author>drbrain@segment7.net (Eric Hodel)</author>
      <link>http://blog.segment7.net/articles/2008/02/14/an-rdoc-wiki</link>
      <category>RDoc</category>
      <category>Ruby</category>
    </item>
  </channel>
</rss>
