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



50
51
52
# File 'lib/doculab.rb', line 50

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

.main_layoutObject



39
40
41
# File 'lib/doculab.rb', line 39

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

.titleObject



19
20
21
# File 'lib/doculab.rb', line 19

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