Parker Moore
b4985d1e63
Two massive performance improvements for large sites ( #6730 )
...
Merge pull request 6730
2018-01-31 15:32:51 -05:00
Parker Moore
7cf5f51ca2
Enforce Style/FrozenStringLiteralComment. ( #6265 )
...
Merge pull request 6265
2017-08-03 21:27:32 -04:00
Joel Meyer-Hamme
4b19e93f09
use logger.info
...
Imo running `--lsi` should use `Jekyll.logger.info`, so it can be made `--quiet`.
2017-01-26 16:02:08 +00:00
Pat Hawks
a8d27e5788
Rubocop: Low hanging fruit
2016-05-23 22:10:49 -05:00
Pat Hawks
4c5d77a4b5
Rubocop: Style/EmptyLines
2016-01-04 11:08:18 -08:00
Pat Hawks
cda226de45
Rubocop: Style/EmptyLinesAroundClassBody
...
- Extra empty line detected at class body end
2016-01-03 15:55:33 -08:00
Parker Moore
2e7c471c70
Add Document#method_missing and Collection#method_missing
...
Proxies calls to either #data or #docs, respectively. Deprecation warning is printed.
2015-10-26 13:37:04 -07:00
Parker Moore
b89f943bf2
collections: posts as collection
2015-10-26 00:29:14 -07:00
Justin Weiss
fa435fae94
Use `Jekyll::Post`s for both LSI indexing and lookup.
...
When looking for related posts, Jekyll was indexing `Jekyll::Post`
objects, but finding related posts based on `Jekyll::Post#content`. This
caused two problems:
1. Ruby 2.2 will warn on == if <=> throws an exception (and future Ruby
versions will surface that exception). Because `String`s can't be
compared with `Jekyll::Post`s, this warning was appearing all the time
while searching for related posts.
2. LSI won't return a post itself when searching for related posts. But
LSI could never tell that we were searching on a post, since Jekyll
passed post content, not a post object. With this fix, we can remove the
`- [post]` from `Jekyll::RelatedPosts#find_related`.
This is a more accurate fix for #3484 .
2015-03-29 23:43:55 -07:00
Parker Moore
65d43ef398
Move previous runtime dependencies to development dependencies.
2015-01-31 13:53:17 -08:00
Parker Moore
656e772388
Cache the related posts most_recent_posts
...
/cc @mattr- is this safe to do, you think? it only happens at render
time...
2014-11-03 22:16:47 -08:00
Parker Moore
4d8e335da1
The mighty classifier --- reborn!!!!!
...
Use classifier-reborn v2.0 in place of classifier 1.3.
Code at https://github.com/jekyll/classifier-reborn
2014-08-13 00:29:40 -04:00
Corey Ward
f1c4e247a5
Remove unnecessary references to `self`
2014-02-21 16:27:21 -06:00
Anand Narayan
dfca2c6edc
Latest post is chosen first in related posts
2013-07-06 15:11:52 +05:30
Parker Moore
1f59e9c757
Use Jekyll.logger instead of Jekyll::Stevenson to log things.
2013-05-29 11:58:35 +02:00
Matt Rogers
98aff03595
Use Jekyll::Stevenson#formatted_topic for printing messages
...
Beats trying to line them up yourself. :-)
2013-05-14 22:04:34 -05:00
Matt Rogers
08b49ec9db
Update the display of the LSI progress output
...
It now fits more in line with what the other messages display.
2013-05-08 22:02:23 -05:00
Matt Rogers
f67f7f3db4
Move the building of related posts into their own class
2013-05-07 22:27:38 -05:00