Module: Jekyll

Defined in:
lib/jekyll/converters/mt.rb,
lib/jekyll.rb,
lib/jekyll/page.rb,
lib/jekyll/post.rb,
lib/jekyll/pager.rb,
lib/jekyll/layout.rb,
lib/jekyll/filters.rb,
lib/jekyll/convertible.rb,
lib/jekyll/tags/include.rb,
lib/jekyll/converters/csv.rb,
lib/jekyll/tags/highlight.rb,
lib/jekyll/converters/typo.rb,
lib/jekyll/converters/mephisto.rb,
lib/jekyll/converters/wordpress.rb,
lib/jekyll/converters/textpattern.rb

Overview

NOTE: This converter requires Sequel and the MySQL gems. The MySQL gem can be difficult to install on OS X. Once you have MySQL installed, running the following commands should work: $ sudo gem install sequel $ sudo gem install mysql – –with-mysql-config=/usr/local/mysql/bin/mysql_config

Defined Under Namespace

Modules: CSV, Convertible, Filters, MT, Mephisto, TextPattern, Typo, WordPress Classes: HighlightBlock, IncludeTag, Layout, Page, Pager, Post

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.content_typeObject

Returns the value of attribute content_type.



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

def content_type
  @content_type
end

.destObject

Returns the value of attribute dest.



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

def dest
  @dest
end

.lsiObject

Returns the value of attribute lsi.



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

def lsi
  @lsi
end

.markdown_procObject

Returns the value of attribute markdown_proc.



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

def markdown_proc
  @markdown_proc
end

.paginateObject

Returns the value of attribute paginate.



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

def paginate
  @paginate
end

Returns the value of attribute permalink_style.



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

def permalink_style
  @permalink_style
end

.pygmentsObject

Returns the value of attribute pygments.



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

def pygments
  @pygments
end

.sourceObject

Returns the value of attribute source.



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

def source
  @source
end

Class Method Details

.process(source, dest) ⇒ Object



56
57
58
59
60
61
62
# File 'lib/jekyll.rb', line 56

def self.process(source, dest)
  require 'classifier' if Jekyll.lsi
  
  Jekyll.source = source
  Jekyll.dest = dest
  Jekyll::Site.new(source, dest).process
end

.versionObject



64
65
66
67
# File 'lib/jekyll.rb', line 64

def self.version
  yml = YAML.load(File.read(File.join(File.dirname(__FILE__), *%w[.. VERSION.yml])))
  "#{yml[:major]}.#{yml[:minor]}.#{yml[:patch]}"
end