jekyll-algolia 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-algolia.rb +6 -2
- data/lib/jekyll/algolia/configurator.rb +3 -0
- data/lib/jekyll/algolia/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 908e1efd4a59058e6114367dbac92298c5048fef
|
4
|
+
data.tar.gz: 2af6dc2c224934a0611a5552a9bc1f24166567ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c59408616011d5e7588cdab5206d018d57cdc6f068dbf5cad43681b9e2f6f4aa2a0a8ce51495a867768ca004c63aa89639d6f11b0a3d081cc7d27c63d0a4c584
|
7
|
+
data.tar.gz: 2d540913e362d63fc91b4e20a95ee95754fe3746c66f35267d1944846837e825eb573fd138a7425beb4f4299d5c71eb64f3cd23931c5c46b94d8e833abc85914
|
data/lib/jekyll-algolia.rb
CHANGED
@@ -73,9 +73,13 @@ module Jekyll
|
|
73
73
|
end
|
74
74
|
|
75
75
|
# A Jekyll::Site subclass that overrides #write from the parent class to
|
76
|
-
# create JSON records out of rendered documents and push those records
|
77
|
-
#
|
76
|
+
# create JSON records out of rendered documents and push those records to
|
77
|
+
# Algolia instead of writing files to disk.
|
78
78
|
class Site < Jekyll::Site
|
79
|
+
# We make the cleanup method a noop, otherwise it will remove excluded
|
80
|
+
# files from destination
|
81
|
+
def cleanup; end
|
82
|
+
|
79
83
|
def write
|
80
84
|
records = []
|
81
85
|
files = []
|
@@ -240,6 +240,9 @@ module Jekyll
|
|
240
240
|
# https://github.com/jekyll/jekyll-paginate/blob/master/lib/jekyll-paginate/pager.rb#L23
|
241
241
|
config['paginate'] = nil
|
242
242
|
|
243
|
+
# Disable archive pages from jekyll-archives
|
244
|
+
config['jekyll-archives'] = nil
|
245
|
+
|
243
246
|
config
|
244
247
|
end
|
245
248
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-algolia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Carry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: algolia_html_extractor
|