class Smeagol::Wiki

Subclass of Gollum::Wiki.

TODO: Techincailly this is probably not needed. Presently it only adds

one methods.

Public Instance Methods

settings() click to toggle source

Public: The Smeagol wiki settings. These can be found in the _settings.yml file at the root of the repository. This method caches the settings for all subsequent calls.

TODO: Should settings be coming from current file or from repo version?

This can be tricky. Right now they come from current file, but
In future we probably need to split this into two config files.
One that comes from version and one that is current.

TODO: This might be better in Controller instead.

Returns a Settings object.

# File lib/smeagol/wiki.rb, line 30
def settings
  @settings ||= Settings.load(path)
end