Casey Lang
fafacc43ca
Add ? to preserve_source_location
2013-05-16 16:15:21 -05:00
Casey Lang
00dd37d2e4
Extract check for force to improve readability
2013-05-16 16:13:13 -05:00
Casey Lang
2ce39bc20a
Add '--force' to 'new' command. Implements #1104
2013-05-15 17:29:27 -05: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
c59cfcfd2e
Not automatically deprecated.
2013-05-12 01:19:04 +02:00
Parker Moore
6167747440
Say happy things when everything is cool
2013-05-12 01:07:58 +02:00
Parker Moore
19bc54bb07
Add doctor command
2013-05-11 18:02:53 +02:00
Parker Moore
ba64a9fe30
Fail if destination directory for jekyll new exists and is not empty. Fixes #981 .
2013-04-16 18:24:10 +02:00
Parker Moore
e0335e2167
.formatted_topic has moved back to Jekyll::Logger. Update Build.watch to use it
2013-04-14 20:21:39 +02:00
Parker Moore
4ef107f3e8
Remove Logger methods from main Jekyll module.
2013-04-14 19:27:19 +02:00
Parker Moore
17f97cdbab
Move manual printing to Jekyll.info and Jekyll.warn
2013-04-13 18:22:34 +02:00
Parker Moore
5f54507204
Remove code duplication
2013-04-12 19:35:46 +02:00
Alexander Ekdahl
8810dc6479
Preloads directory_watcher glob
2013-04-02 17:46:07 +02:00
Matt Rogers
fa39a97bc6
Remove unused code
2013-03-25 21:22:42 -05:00
Parker Moore
a72cdc9293
Auto-regeneration fails loudly. Fixes #470 .
2013-03-19 22:31:37 +01:00
Parker Moore
aa7a234c18
Merge master into jekyll-new
2013-03-17 15:45:37 +01:00
paco
23a01e7766
Patch for multibyte URI problem. Closes #723 .
2013-03-16 21:20:11 +01:00
Daniel Grieve
4be5dfdb9a
fix copying of site template files
2013-03-13 21:27:41 +00:00
Daniel Grieve
099fcc27d6
raise ArgumentError if no args. rename sample post
2013-03-13 19:21:11 +00:00
Jonathan Roes
7a86d901f1
Refactor Commands::New a bit and remove scaffold post once copied.
2013-03-12 00:48:22 -04:00
Parker Moore
524aa1f36a
Jekyll::Commands::Serve reads in mime.types file.
2013-03-08 20:12:52 +01:00
Parker Moore
7258b10f88
We don't need YAML in the new command.
2013-02-28 22:19:38 +01:00
Parker Moore
7457cbae25
Fix issue with watching (auto-regeneration) continuously running if destination is not '_site'. #457 .
2013-02-22 00:59:44 +01:00
Parker Moore
9eb79ff135
Improved output for auto-regeneration.
2013-02-20 23:09:54 +01:00
Parker Moore
bf79b0ac37
Fixed merge with new log output in lib/jekyll.rb
2013-02-20 23:09:34 +01:00
Parker Moore
28a074ff7a
Remove Jekyll::Commands::Migrate
2013-01-31 00:18:22 +01:00
Parker Moore
cff4ec72ea
Using .erb file for the new post
2013-01-30 21:05:52 +01:00
Parker Moore
704307d7fe
Added very basic code snippet example to sample post
2013-01-27 23:30:32 +01:00
Parker Moore
bf78fe9b75
Move post scaffold content to a separate method.
2013-01-27 23:23:53 +01:00
Parker Moore
a68b67c65e
Added newline to New command for stylistic congruence.
2013-01-27 23:21:31 +01:00
Parker Moore
a8671ed52b
Using modularized commands (Jekyll::Commands) as per @tombell's latest PR merge
2013-01-27 23:17:45 +01:00
Parker Moore
272dd5ef35
Added the NewCommand class
2013-01-27 23:16:34 +01:00
Parker Moore
b4bea4a586
Merge branch 'code-cleanup' of git://github.com/tombell/jekyll into code-cleanup
...
Module Cleanup
* 'code-cleanup' of git://github.com/tombell/jekyll:
Remove new lines between module and class
Update tag classes moving into a module
Update pagination classes moving into a module
Update converter classes moving into a module
Strip extra newlines
Update command classes moving into a module
Conflicts:
lib/jekyll/commands/serve.rb
2013-01-27 23:13:16 +01:00
Jordon Bedwell
4f7881ba40
Add SVG support to Jekyll/Webrick. Fixes #406 .
2013-01-25 06:20:07 +01:00
Tom Bell
e03f48085a
Update command classes moving into a module
2013-01-19 22:36:46 +00:00
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
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
5b2e95b443
Add missing ] in self.watch string
2012-12-18 21:54:01 +00:00
Tom Bell
d8f328b87c
Update loop position so trap handler is used
2012-12-18 21:41:18 +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