Module: Jekyll

### Home Classes Methods

### In Files

- lib/jekyll.rb
- lib/jekyll/cleaner.rb
- lib/jekyll/command.rb
- lib/jekyll/commands/build.rb
- lib/jekyll/commands/doctor.rb
- lib/jekyll/commands/new.rb
- lib/jekyll/commands/serve.rb
- lib/jekyll/configuration.rb
- lib/jekyll/converter.rb
- lib/jekyll/converters/identity.rb
- lib/jekyll/converters/markdown.rb
- lib/jekyll/converters/markdown/kramdown_parser.rb
- lib/jekyll/converters/markdown/maruku_parser.rb
- lib/jekyll/converters/markdown/rdiscount_parser.rb
- lib/jekyll/converters/markdown/redcarpet_parser.rb
- lib/jekyll/converters/textile.rb
- lib/jekyll/convertible.rb
- lib/jekyll/deprecator.rb
- lib/jekyll/draft.rb
- lib/jekyll/errors.rb
- lib/jekyll/excerpt.rb
- lib/jekyll/filters.rb
- lib/jekyll/generator.rb
- lib/jekyll/generators/pagination.rb
- lib/jekyll/layout.rb
- lib/jekyll/page.rb
- lib/jekyll/plugin.rb
- lib/jekyll/post.rb
- lib/jekyll/related_posts.rb
- lib/jekyll/site.rb
- lib/jekyll/static_file.rb
- lib/jekyll/stevenson.rb
- lib/jekyll/tags/gist.rb
- lib/jekyll/tags/highlight.rb
- lib/jekyll/tags/include.rb
- lib/jekyll/tags/post_url.rb
- lib/jekyll/url.rb

### Namespace

- MODULE Jekyll::Commands
- MODULE Jekyll::Converters
- MODULE Jekyll::Convertible
- MODULE Jekyll::Filters
- MODULE Jekyll::Generators
- MODULE Jekyll::Tags
- CLASS Jekyll::Command
- CLASS Jekyll::Configuration
- CLASS Jekyll::Converter
- CLASS Jekyll::Deprecator
- CLASS Jekyll::Draft
- CLASS Jekyll::Excerpt
- CLASS Jekyll::FatalException
- CLASS Jekyll::Generator
- CLASS Jekyll::GistTag
- CLASS Jekyll::Layout
- CLASS Jekyll::Page
- CLASS Jekyll::Pager
- CLASS Jekyll::Plugin
- CLASS Jekyll::Post
- CLASS Jekyll::RelatedPosts
- CLASS Jekyll::Site
- CLASS Jekyll::StaticFile
- CLASS Jekyll::Stevenson
- CLASS Jekyll::URL

### Methods

- ::configuration
- ::logger
- ::set_timezone

### Files

- LICENSE

### Class/Module Index

Quicksearch

- Jekyll
- Jekyll::Command
- Jekyll::Commands
- Jekyll::Commands::Build
- Jekyll::Commands::Doctor
- Jekyll::Commands::New
- Jekyll::Commands::Serve
- Jekyll::Configuration
- Jekyll::Converter
- Jekyll::Converters
- Jekyll::Converters::Identity
- Jekyll::Converters::Markdown
- Jekyll::Converters::Markdown::KramdownParser
- Jekyll::Converters::Markdown::MarukuParser
- Jekyll::Converters::Markdown::RDiscountParser
- Jekyll::Converters::Markdown::RedcarpetParser
- Jekyll::Converters::Markdown::RedcarpetParser::CommonMethods
- Jekyll::Converters::Markdown::RedcarpetParser::WithPygments
- Jekyll::Converters::Markdown::RedcarpetParser::WithoutPygments
- Jekyll::Converters::Textile
- Jekyll::Convertible
- Jekyll::Deprecator
- Jekyll::Draft
- Jekyll::Excerpt
- Jekyll::FatalException
- Jekyll::Filters
- Jekyll::Generator
- Jekyll::Generators
- Jekyll::Generators::Pagination
- Jekyll::GistTag
- Jekyll::Layout
- Jekyll::Page
- Jekyll::Pager
- Jekyll::Plugin
- Jekyll::Post
- Jekyll::RelatedPosts
- Jekyll::Site
- Jekyll::Site::Cleaner
- Jekyll::StaticFile
- Jekyll::Stevenson
- Jekyll::Tags
- Jekyll::Tags::HighlightBlock
- Jekyll::Tags::IncludeTag
- Jekyll::Tags::PostComparer
- Jekyll::Tags::PostUrl
- Jekyll::URL
- Date
- Enumerable
- Hash
- Object

No matching classes.

# Jekyll

Convertible provides methods for converting a pagelike item from a certain type of markup into actual content

Requires

    self.site -> Jekyll::Site
    self.content
    self.content=
    self.data=
    self.ext=
    self.output=
    self.name

Gist Liquid Tag

Example:

    {% gist 1234567 %}
    {% gist 1234567 file.rb %}

Public: Methods that generate a URL for a resource such as a Post or a Page.

Examples

    URL.new({
      :template => /:categories/:title.html",
      :placeholders => {:categories => "ruby", :title => "something"}
    }).to_s

### Constants

VERSION

### Public Class Methods

configuration(override) click to toggle source

Public: Generate a Jekyll configuration Hash by merging the default options with anything in _config.yml, and adding the given options on top.

override - A Hash of config directives that override any options in both

    the defaults and the config file. See Jekyll::Configuration::DEFAULTS for a
    list of option names and their defaults.

Returns the final configuration Hash.

    # File lib/jekyll.rb, line 73
    def self.configuration(override)
      config = Configuration[Configuration::DEFAULTS]
      override = Configuration[override].stringify_keys
      config = config.read_config_files(config.config_files(override))

      # Merge DEFAULTS < _config.yml < override
      config = config.deep_merge(override).stringify_keys
      set_timezone(config['timezone']) if config['timezone']

      config
    end

logger() click to toggle source

    # File lib/jekyll.rb, line 94
    def self.logger
      @logger ||= Stevenson.new
    end

set_timezone(timezone) click to toggle source

Static: Set the TZ environment variable to use the timezone specified

timezone - the IANA Time Zone

Returns nothing

    # File lib/jekyll.rb, line 90
    def self.set_timezone(timezone)
      ENV['TZ'] = timezone
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.