Skip to content

Commit

Permalink
jrk tweaks:
Browse files Browse the repository at this point in the history
 * Switching back to BlueCloth (Markdown)
 * Documenting additional needed gems, submodule setup
  • Loading branch information
jrk committed May 12, 2008
1 parent ec23226 commit a160dca
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 19 deletions.
30 changes: 30 additions & 0 deletions README.markdown
@@ -0,0 +1,30 @@
# git-wiki #

A wiki engine that uses a Git repository as its data store.

## Status ##

Alex Payne (see AUTHORS file) is no longer actively developing this branch.
Please fork from here and continue development!

## Requirements ##

* rubygems
* sinatra
* grit
* redcloth
* bluecloth
* rubypants
* git
* metaid


Sinatra is vendored as a [git submodule][gs].
To get it, run the fellowing commands :

% cd git-wiki
% git submodule init
% git submodule update


[gs]: http://www.kernel.org/pub/software/scm/git/docs/git-submodule.html
16 changes: 0 additions & 16 deletions README.textile

This file was deleted.

2 changes: 1 addition & 1 deletion environment.rb
Expand Up @@ -2,7 +2,7 @@
require 'extensions'
require 'page'

%w(git redcloth rubypants).each do |gem|
%w(git redcloth bluecloth rubypants).each do |gem|
require_gem_with_feedback gem
end

Expand Down
4 changes: 2 additions & 2 deletions page.rb
Expand Up @@ -13,7 +13,7 @@ def unwiki(string)
end

def body
@body ||= RubyPants.new(RedCloth.new(raw_body).to_html).to_html.wiki_linked
@body ||= RubyPants.new(BlueCloth.new(raw_body).to_html).to_html.wiki_linked
end

def branch_name
Expand Down Expand Up @@ -83,7 +83,7 @@ def next_commit

def version(rev)
data = blob.contents
RubyPants.new(RedCloth.new(data).to_html).to_html.wiki_linked
RubyPants.new(BlueCloth.new(data).to_html).to_html.wiki_linked
end

def blob
Expand Down

0 comments on commit a160dca

Please sign in to comment.