Commit Graph

72 Commits

Author SHA1 Message Date
Tom Bell
b7944c5274 Add initial MigrateCommand
Not all migrators can actually be calld from the comand line. Some require
options which are not passed in and have to be called by other means.
2012-12-19 17:50:21 +00:00
Tom Bell
9c65ceb22d Remove comments 2012-12-19 16:56:08 +00:00
Tom Bell
d298e2bd57 Add LSI option for build and serve commands 2012-12-19 16:44:03 +00:00
Tom Bell
4578c15a24 Add TODOs for current switches 2012-12-19 16:34:03 +00:00
Tom Bell
053c2eb0a7 Rename Args to Options in command docs 2012-12-19 14:13:32 +00:00
Tom Bell
be20a03bb9 Update to make the help command default 2012-12-19 14:09:02 +00:00
Tom Bell
dc139e2ac9 Update the sym->str key conversion 2012-12-18 22:13:17 +00:00
Tom Bell
bd1c8fe760 Update Jekyll.configuration to convert symbol keys
Because Commander uses symbol keys in the options hash and I don't want to go
back backport every hash string key to symbols in Jekyll. 
2012-12-18 21:55:00 +00:00
Tom Bell
72f99eb8a7 Update global options and command descriptions 2012-12-18 21:18:05 +00:00
Tom Bell
3b4feb41f0 Add initial serve command
The `ServeCommand` will let you serve your site locally for development. You
can specify `--port`, `--host` and `--baseurl` options if you wish to change the
defaults.

Additionally the `BuildCommand` will be called before the processing of the
serve command, this makes sure that the site is actually built. This means you
are able to pass the `--watch` option to auto-regenerate your site, even while
serving it locally.
2012-12-18 21:00:24 +00:00
Tom Bell
14766497c8 Add bin/jekyll2 and initial BuildCommand
The `BuildCommand` class is responsible for handling the building of the site.
It can also optionally watch for changes to files and regenerate the site if
needed.

The `Command` class holds any methods which are used by any command
implementation.
2012-12-18 20:34:09 +00:00
Tom Preston-Werner
4533e60489 Merge branch 'master' of https://github.com/daneharrigan/jekyll into daneharrigan-master
Conflicts:
	lib/jekyll.rb
2012-04-23 16:48:18 -07:00
Tom Preston-Werner
ac41b459fc Merge pull request #446 from ossxp-com/patch-1
Invalid migrator for WordPress because of a typo.
2012-01-22 15:02:09 -08:00
Tom Preston-Werner
8d48992f22 Merge pull request #447 from mking/master
Fix comment typo
2012-01-21 19:46:27 -08:00
Tom Preston-Werner
4fe5e6ba99 Update history and fix up style. 2012-01-14 20:17:35 -08:00
Tom Preston-Werner
1f44e1ad64 Merge branch 'master' of https://github.com/RJ/jekyll into RJ-master 2012-01-14 20:15:31 -08:00
Matthew King
14d51bfd25 Fix typo "destintation" => "destination" 2011-12-03 22:36:18 -05:00
OpenSourceXpress
b18bdee6f1 Invalid migrator for WordPress because of a typo.
WordPress importer name should be WordPress not Wordpress.
2011-12-01 09:42:12 +08:00
Dane Harrigan
58d8fef7ec added command-line option --paginate_path 2011-06-05 15:11:35 -04:00
Tom Preston-Werner
2ad0fbc8ff Merge remote-tracking branch 'MattHall/redcarpet' 2011-05-29 21:38:34 -07:00
Tom Preston-Werner
f808c98232 Clean up Enki importer and update History. 2011-05-09 00:59:40 -07:00
Tom Preston-Werner
b86bc97c5f Clean up Tumblr importer and update History. 2011-05-09 00:54:26 -07:00
MattHall
cf779b2760 Added Redcarpet for MD conversion 2011-04-20 10:04:42 +01:00
Tom Preston-Werner
dce4ccc5a4 Better error message for invalid post date. 2011-03-11 17:52:25 -08:00
Tom Preston-Werner
68eaadd13a Merge remote-tracking branch 'MattHall/cli' into test 2011-03-10 23:01:18 -08:00
Richard Jones
2f9d4f5be6 Allow setting default mimetype for --server. Useful if permalinks don't end in .html 2011-02-05 12:25:32 +00:00
Matt Hall
84c1a72443 Updating CLI for importing 2010-12-19 17:38:14 +00:00
Tom Preston-Werner
86397cbf00 Add --no-server option. 2010-12-16 16:27:41 -08:00
Tom Preston-Werner
65622cb1e0 Use OptionParser's [no-] functionality for better boolean parsing. 2010-12-13 21:07:35 -08:00
Jason Graham
ac7a0cc95f Add Kramdown support and tests 2010-11-20 17:40:27 -08:00
Tom Preston-Werner
38ed81e0ce Update history for --base-url option. 2010-11-18 00:11:04 -06:00
Arnar Birgisson
4a8fc1fa6e Adding baseurl option. Fixes #51 2010-11-17 22:50:40 +01:00
cblunt
f688c9df81 Added limit-posts option to site configuration.
* Added unit tests for limit-posts.
  * Added feature for limit-posts.
  * Added --limit_posts option to bin/jekyll options parser
2010-09-13 00:31:52 +01:00
Tom Preston-Werner
0ce13c943d Merge remote branch 'darwin/site_url_from_cmdline' 2010-06-22 15:33:06 -07:00
Tom Preston-Werner
de8bd48154 Maruku is now the only processor dependency installed by default. Closes #57.
Other processors will be lazy-loaded when necessary (and prompt the
user to install them when necessary).
2010-06-22 15:17:39 -07:00
Antonin Hildebrand
23d26c5525 allow setting --url <custom_site_url> from commandline (issue #15, closes #143)
Sometimes you may be forced to use absolute urls. For example I had problem with FeedBurner's blog post preview page. Image links specified as relative urls were not resolved correctly. I can imagine some poor RSS readers may behave similar way.

I wanted site.url to be configurable, because I didn't want to hard-code final url there. I still want to be able to have working link when doing local web site development and testing. I have small bash script which runs jekyll -serve --auto with this parameter set for local development. My setup is more complicated, because I use several jekylls behind reverse proxy to simulate setup on http://binaryage.com which uses gh-pages from many repos together with layouts linked as git modules.
2010-06-22 09:11:42 +02:00
Tom Preston-Werner
cb77a5287b load plugins under safe mode 2010-06-18 17:55:17 -07:00
Tom Preston-Werner
03cb12aeb3 convert to use rakegem 2010-04-21 13:55:01 -07:00
Kris Brown
98fa570c86 added support for consistent site.time in payload, generating the site at a specific time and limiting future posts
squish
2010-02-26 20:52:41 +00:00
Kris Brown
6b74454a07 resetting to upstream 2010-01-10 10:11:44 +00:00
Kris Brown
2a7b1cbd98 merged 'mojombo/master' at 'v0.5.6' 2010-01-09 09:03:59 +00:00
Tom Preston-Werner
602a252364 add javascript mime type for webrick. fixes #98 2010-01-08 18:59:35 -08:00
Jamie Macey
fab5a715c5 safely allow loading jekyll customizations from inside a site 2009-11-29 13:25:00 -05:00
Nick Quaranto
e1dbda47ed Merging in calavera's pagination branch 2009-05-09 11:44:34 -04:00
Nick Quaranto
563933f114 Update the help message and comments to use config.yml 2009-04-23 18:24:52 -04:00
David Calavera
2e00c5957b pagination executable option 2009-04-04 14:46:44 +02:00
Tom Preston-Werner
73d42b24ad Huge refactor to move all config into Jekyll::Site
This commit makes Jekyll threadsafe (or at least makes it possible to be so).
It also makes it a ton easier to use Jekyll as a library for scripted site
transformation. I did, however, break all the tests. =(
2009-03-12 19:05:43 -07:00
mreid
9f3244e884 Fixed bug which meant config file did not override default source and destination 2009-03-12 20:51:12 +11:00
Mark
6edfae8c26 Refactored configuration and command-line option code 2009-03-12 20:51:11 +11:00
Mark
6fec047631 Added ability to set Jekyll parameters via _config.yaml file 2009-03-12 20:46:33 +11:00