Module: Jekyll
- Defined in:
- lib/jekyll/converters/mt.rb,
lib/jekyll.rb,
lib/jekyll/page.rb,
lib/jekyll/post.rb,
lib/jekyll/site.rb,
lib/jekyll/layout.rb,
lib/jekyll/archive.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: Archive, HighlightBlock, IncludeTag, Layout, Page, Post, Site
Class Attribute Summary collapse
-
.content_type ⇒ Object
Returns the value of attribute content_type.
-
.dest ⇒ Object
Returns the value of attribute dest.
-
.lsi ⇒ Object
Returns the value of attribute lsi.
-
.markdown_proc ⇒ Object
Returns the value of attribute markdown_proc.
-
.permalink_style ⇒ Object
Returns the value of attribute permalink_style.
-
.pygments ⇒ Object
Returns the value of attribute pygments.
-
.source ⇒ Object
Returns the value of attribute source.
Class Method Summary collapse
Class Attribute Details
.content_type ⇒ Object
Returns the value of attribute content_type.
49 50 51 |
# File 'lib/jekyll.rb', line 49 def content_type @content_type end |
.dest ⇒ Object
Returns the value of attribute dest.
49 50 51 |
# File 'lib/jekyll.rb', line 49 def dest @dest end |
.lsi ⇒ Object
Returns the value of attribute lsi.
49 50 51 |
# File 'lib/jekyll.rb', line 49 def lsi @lsi end |
.markdown_proc ⇒ Object
Returns the value of attribute markdown_proc.
49 50 51 |
# File 'lib/jekyll.rb', line 49 def markdown_proc @markdown_proc end |
.permalink_style ⇒ Object
Returns the value of attribute permalink_style.
49 50 51 |
# File 'lib/jekyll.rb', line 49 def permalink_style @permalink_style end |
.pygments ⇒ Object
Returns the value of attribute pygments.
49 50 51 |
# File 'lib/jekyll.rb', line 49 def pygments @pygments end |
.source ⇒ Object
Returns the value of attribute source.
49 50 51 |
# File 'lib/jekyll.rb', line 49 def source @source end |
Class Method Details
.process(source, dest) ⇒ Object
57 58 59 60 61 62 63 |
# File 'lib/jekyll.rb', line 57 def self.process(source, dest) require 'classifier' if Jekyll.lsi Jekyll.source = source Jekyll.dest = dest Jekyll::Site.new(source, dest).process end |
.version ⇒ Object
65 66 67 68 |
# File 'lib/jekyll.rb', line 65 def self.version yml = YAML.load(File.read(File.join(File.dirname(__FILE__), *%w[.. VERSION.yml]))) "#{yml[:major]}.#{yml[:minor]}.#{yml[:patch]}" end |