Commit Graph

125 Commits

Author SHA1 Message Date
Alfred Xing 2a040fd527 Rename incremental regeneration flag
Rename from `full_rebuild` to disable, to `incremental` to enable
2015-10-26 14:20:44 -07:00
Lukas 6d196275fc Add build options (fixes #3744) 2015-06-30 20:53:31 +02:00
Jordon Bedwell ae11cae659 Fix #3653: Add a doctor helper to test pwd's. 2015-05-17 02:46:40 -05:00
Alfred Xing 9ab3c201c8 Remove relative permalinks 2015-04-28 14:03:20 -07:00
Jim Meyer 9c03fc3f27 Set logging to debug when verbose flag is set
Adds Jekyll::LogAdapter#adjust_verbosity which ensures that --quiet
always wins.
2015-04-18 16:57:57 -07:00
Joop Aué 7a31029c79 Removed deprecation inconsistency
Replaced occasions where the logger was used to report deprecations.
Deprecator is now used instead.

Signed-off-by: Joop Aué <joopaue@gmail.com>
2015-03-02 21:54:05 +01:00
ChaYoung You 7db9397a9d
Remove trailing whitespace 2015-02-22 20:27:15 +09:00
Ryan Tomayko 491cce7a99 Avoid requiring webrick at boot time
This is a bit uglier but allows deferring loading webrick until the
serve command is invoked as opposed to when it's required.
2015-02-12 22:16:12 -05:00
Ryan Tomayko e99a9e5821 Custom WEBrick FileHandler for stripping .html extension
This first performs the normal static file check at the exact
location. If no file is found, attempt the check again with an
".html" suffix.

See the following for base class search_file implementation:

https://github.com/ruby/ruby/blob/4607f95/lib/webrick/httpservlet/filehandler.rb#L363-L383
2015-02-12 21:58:35 -05:00
Parker Moore 571800c8ad Use 3 places to the right of the decimal place instead of 2. 2015-02-07 23:57:07 -08:00
eksperimental d795113e94 Update build.rb
parenthesis added to round
2015-02-07 23:57:07 -08:00
eksperimental dbc8530068 Show only two decimals in time to generate pages
no need to display 10 decimals.
it feels up my screen with useless numbers! ;-p
2015-02-07 23:57:07 -08:00
Jordon Bedwell 9ba9c47cd6 Fixes #3339 Add `pkill -f jekyll` to ways to kill.
This shows people how to kill Jekyll without knowing the PID using `pkill` (you could also do `kill -9 $(pgrep -f jekyll)` but that is just the long way around doing `pkill -f` so it shouldn't be shown in the Jekyll logger but can be documented here for people.
2015-02-01 06:45:52 -06:00
kaatt ff646738fc Shows time after initial generation 2015-01-30 01:32:00 +05:30
Parker Moore c576d23908 Use External instead of Deprecator for requiring gracefully 2014-12-28 14:37:49 -05:00
Parker Moore ac41312c5d Separate jekyll-docs out into a separate gem & bless it 2014-12-28 14:37:02 -05:00
Alfred Xing 52f0b36558 Add incremental rebuild info to build command output 2014-12-04 20:09:49 -08:00
Alfred Xing 4acf343fea Add clean command 2014-11-23 12:51:19 -08:00
Sean Collins 5a288e7de4 Add 'b' and 's' aliases for build and serve, respectively 2014-11-05 23:13:08 -05:00
Parker Moore 9cc3085dd0 Turn on FancyIndexing. 2014-10-20 21:23:30 -07:00
Parker Moore 5b37ad57cc If `--verbose` is given, debug the sh*t out of that. 2014-10-20 21:23:22 -07:00
Parker Moore 3dedcbf894 Sort webrick_options 2014-10-20 21:23:00 -07:00
Parker Moore 6cee2a87cc Auto-enable watch on 'serve'.
Addresses @kneath's and @chibicode's comments in #2695.
2014-08-30 22:52:41 -07:00
Ruslan Korolev d9da7cbd76 add class << self idiom to new command 2014-08-25 10:59:58 +04:00
Parker Moore 47b38cf9ee Merge pull request #2716 from jekyll/reform-watch 2014-08-10 20:28:38 -04:00
Parker Moore c7c1eddd47 It's called Jekyll::Watcher 2014-08-10 14:33:11 -04:00
Parker Moore a2dfd6eddc Refactor based on jekyll-watch clean-up.
https://github.com/jekyll/jekyll-watch/pull/5
2014-08-09 00:13:18 -04:00
Parker Moore 939c67222a Check to make sure the command is valid. 2014-08-06 21:28:21 -04:00
Parker Moore 23515acc31 Slim down help command. 2014-08-06 21:20:39 -04:00
Parker Moore a0f449d613 Add 'jekyll help' command.
Ref: #2695
2014-08-06 21:17:44 -04:00
Parker Moore 9fd872e7b8 Notify the user when auto-regeneration is disabled. 2014-08-05 15:55:43 -04:00
Parker Moore a97ae67552 Gracefully require 2014-07-12 13:46:49 -07:00
Alfred Xing bb9517b73f Fill in a bit of missing TomDoc
Fill in a piece of missing doc for the `build` function in `commands/build.rb`
2014-06-28 17:48:19 -07:00
Parker Moore 12b47cc037 Spike out jekyll <cmd> --watch into a separate gem. 2014-06-27 16:41:10 -04:00
Parker Moore bd4a8c1ce2 Fixes, fixes. 2014-06-27 15:32:16 -04:00
Parker Moore dc074fcc50 Merge pull request #2477 from jekyll/serve-skip-initial-build 2014-06-23 19:06:10 -04:00
Ivan Tse 6684a8f914 Refactor logic into Command class. Add tests. 2014-06-04 14:23:40 -04:00
Parker Moore b126159360 Skip initial build of site on serve with flag.
Adds --skip-initial-build flag to jekyll-serve, which serves the destination
immediately rather than waiting for the site to be built.

Fixes #1252.
2014-06-03 13:30:14 -04:00
Ivan Tse c4434f27af Get relative paths of directories to ignore
Use `Pathname#realpath` to get absolute paths so that
`Pathname#relative_path_from` will not raise an exception. Also add the
config files to this list.
2014-05-28 01:16:34 -04:00
Peter Rhoades 6465cd6446 Setting log_level earlier to silence info level configuration output. 2014-05-11 21:14:10 +01:00
Parker Moore 2d040c1aaa Use Jekyll.logger for --watch error message. 2014-05-08 22:27:55 -04:00
Parker Moore 81ff5ed7aa Save --watch from errors.
Fixes #2355.
2014-05-08 22:22:11 -04:00
Parker Moore 2aa8908948 Stevenson now uses symbols instead of integers to set log level 2014-05-06 13:03:56 -04:00
Parker Moore 63e959e4e1 Use Jekyll.logger, never puts 2014-05-06 13:02:35 -04:00
Parker Moore fda3461c5a We deprecated relative permalinks in 2.0 2014-05-06 13:02:17 -04:00
Parker Moore 3af22f12bf Set content-type to text/html with utf-8 charset.
Fixes #2289
2014-05-03 18:51:55 -04:00
Parker Moore 513e77635b Refactor 'jekyll serve' command. 2014-04-27 19:02:33 -04:00
Marcus Stollsteimer fec6b59950 Use File.exist? instead of deprecated File.exists? 2014-04-06 13:31:34 +02:00
Zequez 5745eb9be8 Added option to force watch to use polling 2014-03-23 01:09:00 -07:00
Parker Moore e746b3bd5f Initialize each command in its own class so we can be *magical*. 2014-03-13 14:07:05 -04:00