Parker Moore
7787d64bce
Rename those Utils functions.
2014-03-04 15:52:05 -05:00
Parker Moore
e2af1b547b
Extract core extensions into a Utils module
...
Fixes #2111
2014-03-03 22:13:03 -05:00
Zlatan Vasović
699066ef85
Add `.mkdown` as valid Markdown extension
...
GitHub Linguist recognizes `.mkdown` as Markdown, so Jekyll should support it as Jekyll is used on GitHub pages.
2014-02-15 22:01:37 +01:00
Parker Moore
c58c5b8782
Default to using the UTF-8 encoding when reading files.
...
Fixes #2029 .
2014-02-11 17:48:52 -05:00
Parker Moore
dd3018ce02
Merge pull request #1988 from jekyll/maruku-to-kramdown
2014-02-08 17:07:54 -05:00
Parker Moore
22f2001ff5
Set default markdown converter to Kramdown
...
- Update default markdown converter in docs for configuration
- Update tests so they are in line with Kramdown output
- Add deprecation message to when config is built
2014-02-08 13:17:46 -05:00
Dan Tao
4f0b1bdf6d
switched from YAML.safe_load* to SafeYAML.load*
2014-01-23 17:25:17 -08:00
Matt Rogers
012387396a
Merge pull request #1859 from robin850/rouge
2013-12-30 22:45:07 -06:00
Robin Dupret
3ca2cb0119
Fix various typos and improve the doc
2013-12-23 13:03:29 +01:00
Robin Dupret
4bf716c2ad
Set highlighter to pygments when upgrading
...
In case you are upgrading from 1.4.2 to 2.0 and the pygments option is
set to true, then the highlighter option will be set to pygments
automatically.
2013-12-22 18:45:46 +01:00
Robin Dupret
92064134d6
Rename the pygments option to highlighter
...
Rename the pygments configuration option to highlighter to allow
different highlighters in the future. For now, the allowed values are
`pygments` and `null`.
It's now more straightforward to plug another syntax highlighter.
2013-12-22 12:45:15 +01:00
Parker Moore
1ebce26881
Default Maruku fenced_code_blocks to ON.
...
Extends https://github.com/jekyll/jekyll/pull/1799
2013-12-15 16:08:21 -05:00
maul.esel
f1869cda98
Merge branch 'master' into frontmatter-defaults
2013-12-05 19:29:57 +01:00
Parker Moore
22b95aee38
Give that LoadError a good message.
2013-11-29 23:33:25 -05:00
Parker Moore
1e32af47a6
Better config file parser error if it's not there.
2013-11-29 23:22:13 -05:00
Parker Moore
51706e8da7
Parse TOML or YAML in Jekyll::Configuration.
2013-11-28 22:11:56 -05:00
maul.esel
20ea0c8d56
Merge branch 'master' into frontmatter-defaults
2013-10-14 19:44:06 +02:00
Parker Moore
310688297b
I guess we'll wait until v2.0 to switch to absolute permalinks.
2013-10-04 15:03:05 -04:00
Parker Moore
bf1d9a79c4
Add support for gem-based plugins.
2013-10-04 14:45:28 -04:00
liufengyun
760cbc7f91
Autoload yaml files under _data directory
...
The jekyll engine will autoload all yaml files(ends with .yml or .yaml)
under _data. If there's a file members.yml under the directory, then user
can access contents of the file through site.members.
2013-10-01 11:23:33 +08:00
MURAOKA Taro
f4c2383d3c
write document for config.encoding
2013-09-19 12:21:25 +09:00
MURAOKA Taro
8a28d80690
add encoding for configuration
2013-09-19 12:21:25 +09:00
maul.esel
b3fdaa9792
add a class `FrontmatterDefaults` for handling of frontmatter defaults
2013-09-11 00:55:28 +02:00
ddavison
b163bf637e
final mods
2013-08-24 21:31:05 -04:00
ddavison
9681f3a776
adding default configuration to false
2013-08-21 21:00:18 +00:00
Parker Moore
d19c6983f2
paginate option cannot be 0.
2013-08-06 21:04:15 +02:00
Parker Moore
6eec3a7942
Print warning when `paginate` is set to `true`.
...
Related to #1105 .
Sample output:
~/code/jekyll/tsite$ ../bin/jekyll build --trace
Configuration file: /Users/parker/code/jekyll/tsite/_config.yml
Config Warning: The `paginate` key must be a positive integer or nil. It's currently set to 'true'.
Source: /Users/parker/code/jekyll/tsite
Destination: /Users/parker/code/jekyll/tsite/_site
Generating... done.
2013-08-06 20:56:29 +02:00
Parker Moore
253fc8c506
Raise LoadError if the file doesn't exist but do not catch it. :)
2013-07-12 12:22:06 +02:00
Parker Moore
a7efb86d5c
Throw ArgumentError when there's an invalid config file, and catch only that.
2013-07-12 11:56:22 +02:00
Parker Moore
456ac01890
Crash if a config file isn't there.
...
If a configuration file is specified via the command line but does not exist,
fail loudly and crash to preserve the current state. Do not fail if the requested
file is the default configuration file, _config.yml. In that case, fall back on
the defaults.
2013-07-12 11:18:46 +02:00
Parker Moore
9d3d095bca
Simplify check for String include/exclude option.
2013-07-08 18:35:16 +02:00
Parker Moore
bbd466497f
Remove duplication for include/exclude options in backwards_compatibilize.
2013-07-08 18:34:26 +02:00
Parker Moore
6e80ba868e
Fix tests for Pager.
2013-06-09 18:52:24 +02:00
Parker Moore
1f59e9c757
Use Jekyll.logger instead of Jekyll::Stevenson to log things.
2013-05-29 11:58:35 +02:00
Parker Moore
8e3ab9ea36
Backwards-compatibilize 'exclude' and 'include' config tags. Fixes #1109
2013-05-16 00:25:16 +02:00
Parker Moore
35f4f09c3e
Rename Jekyll::Logger ~> Jekyll::Stevenson to fix inheritance problem
...
Problem described here: ca888cad76
2013-05-14 21:07:23 +02:00
Parker Moore
28b9e351c4
Merge pull request #1081 from mojombo/relative-permalinks
...
Backwards-compatibilize relative permalinks
2013-05-12 02:55:49 -07:00
maul.esel
1b80fc8cc8
always be polite to the user :)
2013-05-11 20:03:55 +02:00
maul.esel
a8788f4a0a
copy over deprecated config option to new one
2013-05-11 19:57:11 +02:00
maul.esel
c44d4248ac
warn on use of deprecated "server_port" option
2013-05-11 19:54:06 +02:00
Parker Moore
e22b1bb74a
Add deprecation support for pages in subfolders with relative permalinks.
2013-05-11 17:40:00 +02:00
Pascal Borreli
29b3dc97f0
Fixed typos
2013-05-06 20:27:00 +01:00
uu59
20a837d15c
Change default value of limit_posts from nil to 0 (see #1004 )
...
Before this commit meaning of limit_posts:
nil: no limit. generate all posts
0: raise error
n ( > 0): generate n posts only
n ( < 0): raise error
else: raise error
After this commit:
nil: same as 0
0: no limit. generate all posts
n ( > 0): generate n posts only
n ( < 0): raise error
else: almost same as 0 (depend on `to_i` result)
2013-04-29 01:41:22 +09:00
Parker Moore
61c24c601a
Add UTF-8 encoding where we read in YAML so it reads in UTF-8 characters properly. Fixes #836 .
2013-04-25 02:15:25 +02:00
Parker Moore
82f32d5c02
Merge configuration properly. Closes #978 .
2013-04-16 00:41:10 +02:00
Parker Moore
c0a2d0f888
Fixed syntax error
2013-04-15 00:42:13 +02:00
Parker Moore
b249289b9d
Set the timezone for the process
2013-04-15 00:42:13 +02:00
Parker Moore
55a964a7da
Print deprecation warnings for 'server', 'watch' and 'auto' when loaded from files. Fixes #972
2013-04-14 23:18:47 +02:00
Parker Moore
e531925cae
Fixes multiple config loading. Closes #973 . Rel: #945 .
2013-04-14 23:04:20 +02:00
Parker Moore
398cd633b6
Merge pull request #959 from mojombo/deprecator
...
Refactor Logging and Deprecation Messaging
2013-04-14 11:05:07 -07:00
Parker Moore
4ef107f3e8
Remove Logger methods from main Jekyll module.
2013-04-14 19:27:19 +02:00
Parker Moore
ef9d8ddb7d
Matching tests to new colorized output
2013-04-13 20:24:45 +02:00
Brian Kim
e7815d873c
Add implicit defaults to DEFAULTS
2013-04-13 12:37:38 -04:00
Parker Moore
17f97cdbab
Move manual printing to Jekyll.info and Jekyll.warn
2013-04-13 18:22:34 +02:00
Parker Moore
6881d3bfbf
Refactored Configuration#config_files
2013-04-12 23:59:37 +02:00
Parker Moore
bd8d271ce3
Moving the backwards-compatibilizing to Configuration#read_config_files. @mattr-
2013-04-12 23:11:38 +02:00
Parker Moore
879b08a0b0
In Configuration#config_files, cascade to the Configuration's value of 'source' before the default
2013-04-12 22:29:52 +02:00
Parker Moore
f2f20d18f0
TomDoc Jekyll::Configuration
2013-04-12 21:38:30 +02:00
Parker Moore
64f224933b
Add Jekyll::Configuration
2013-04-12 21:20:14 +02:00