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