forked from gollum/gollum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
79bb5c1
commit 213e2bb
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Example gollum config | ||
# gollum ../wiki --config config.rb | ||
# | ||
# or run from source with | ||
# | ||
# bundle exec bin/gollum ../wiki/ --config config.rb | ||
|
||
# Remove const to avoid | ||
# warning: already initialized constant FORMAT_NAMES | ||
# | ||
# only remove if it's defined. | ||
# constant Gollum::Page::FORMAT_NAMES not defined (NameError) | ||
Gollum::Page.send :remove_const, :FORMAT_NAMES if defined? Gollum::Page::FORMAT_NAMES | ||
# limit to one format | ||
Gollum::Page::FORMAT_NAMES = { :markdown => "Markdown" } | ||
|
||
=begin | ||
Valid formats are: | ||
{ :markdown => "Markdown", | ||
:textile => "Textile", | ||
:rdoc => "RDoc", | ||
:org => "Org-mode", | ||
:creole => "Creole", | ||
:rest => "reStructuredText", | ||
:asciidoc => "AsciiDoc", | ||
:mediawiki => "MediaWiki", | ||
:pod => "Pod" } | ||
=end |