Module: Doculab

Defined in:
lib/doculab.rb,
app/models/doculab/doc.rb,
app/helpers/doculab/docs_helper.rb,
app/sweepers/doculab/cache_sweeper.rb,
app/models/doculab/table_of_contents.rb,
app/controllers/doculab/docs_controller.rb,
app/helpers/doculab/table_of_contents_helper.rb

Defined Under Namespace

Modules: DocsHelper, TableOfContents, TableOfContentsHelper Classes: CacheSweeper, Doc, DocsController

Class Method Summary collapse

Class Method Details

.index_layoutObject



48
49
50
# File 'lib/doculab.rb', line 48

def self.index_layout
  @@index_layout ||= main_layout
end

.main_layoutObject



37
38
39
# File 'lib/doculab.rb', line 37

def self.main_layout
  @@main_layout ||= 'docs'
end

.titleObject



17
18
19
# File 'lib/doculab.rb', line 17

def self.title
  @@title ||= [Doculab.project_name, "Documentation"].reject(&:blank?).join(' ')
end