From 28b729acdad41a0c7bee928116f6683a84c26026 Mon Sep 17 00:00:00 2001 From: kristi Date: Thu, 10 May 2012 00:38:35 -0700 Subject: [PATCH] Add in some minimal documentation for wiki options --- lib/gollum/frontend/app.rb | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/gollum/frontend/app.rb b/lib/gollum/frontend/app.rb index 810391bc..9d0a7068 100644 --- a/lib/gollum/frontend/app.rb +++ b/lib/gollum/frontend/app.rb @@ -6,7 +6,18 @@ require 'mustache/sinatra' require 'gollum/frontend/views/layout' require 'gollum/frontend/views/editable' - +# Run the frontend, based on Sinatra +# +# There are a number of wiki options that can be set for the frontend +# +# Example +# require 'gollum/frontend/app' +# Precious::App.set(:wiki_options, { +# :universal_toc => false, +# :header_hashtags => true +# } +# +# See the wiki.rb file for more details on wiki options module Precious class App < Sinatra::Base register Mustache::Sinatra