Clean up default config spec.

This commit is contained in:
Tom Preston-Werner 2012-12-15 22:09:21 -08:00
parent 583f9e0019
commit 22f4b12836
1 changed files with 23 additions and 19 deletions

View File

@ -49,43 +49,46 @@ module Jekyll
VERSION = '0.11.2' VERSION = '0.11.2'
# Default options. Overriden by values in _config.yml or command-line opts. # Default options. Overriden by values in _config.yml or command-line opts.
# (Strings rather symbols used for compatability with YAML). # Strings rather than symbols are used for compatability with YAML.
DEFAULTS = { DEFAULTS = {
'safe' => false, 'safe' => false,
'auto' => false, 'auto' => false,
'server' => false, 'server' => false,
'server_port' => 4000, 'server_port' => 4000,
'source' => Dir.pwd, 'source' => Dir.pwd,
'destination' => File.join(Dir.pwd, '_site'), 'destination' => File.join(Dir.pwd, '_site'),
'plugins' => File.join(Dir.pwd, '_plugins'), 'plugins' => File.join(Dir.pwd, '_plugins'),
'layouts' => '_layouts', 'layouts' => '_layouts',
'future' => true, 'future' => true,
'lsi' => false, 'lsi' => false,
'pygments' => false, 'pygments' => false,
'markdown' => 'maruku', 'markdown' => 'maruku',
'permalink' => 'date', 'permalink' => 'date',
'include' => ['.htaccess'], 'include' => ['.htaccess'],
'paginate_path' => 'page:num', 'paginate_path' => 'page:num',
'markdown_ext' => 'markdown,mkd,mkdn,md', 'markdown_ext' => 'markdown,mkd,mkdn,md',
'textile_ext' => 'textile', 'textile_ext' => 'textile',
'maruku' => { 'maruku' => {
'use_tex' => false, 'use_tex' => false,
'use_divs' => false, 'use_divs' => false,
'png_engine' => 'blahtex', 'png_engine' => 'blahtex',
'png_dir' => 'images/latex', 'png_dir' => 'images/latex',
'png_url' => '/images/latex' 'png_url' => '/images/latex'
}, },
'rdiscount' => {
'rdiscount' => {
'extensions' => [] 'extensions' => []
}, },
'redcarpet' => {
'redcarpet' => {
'extensions' => [] 'extensions' => []
}, },
'kramdown' => {
'kramdown' => {
'auto_ids' => true, 'auto_ids' => true,
'footnote_nr' => 1, 'footnote_nr' => 1,
'entity_output' => 'as_char', 'entity_output' => 'as_char',
@ -102,8 +105,9 @@ module Jekyll
'coderay_css' => 'style' 'coderay_css' => 'style'
} }
}, },
'redcloth' => {
'hard_breaks' => true 'redcloth' => {
'hard_breaks' => true
} }
} }