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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a91395a6d04dc0f9b9ef49da23e16bf1456969d
4
- data.tar.gz: fbad45afa7727fc7029dc2806846f1cd4cb31cc7
3
+ metadata.gz: 908e1efd4a59058e6114367dbac92298c5048fef
4
+ data.tar.gz: 2af6dc2c224934a0611a5552a9bc1f24166567ac
5
5
  SHA512:
6
- metadata.gz: c2330e69b46b065cff3c5c6398d1d7348bc076d2d3c79728f4be43212b009591eda19218f4f62f7b536a0ff9bf42692ec91bb63d3ccd2f671cf7a30b935d5e98
7
- data.tar.gz: be599da416025ba2867b42817907b384f86be69ad4a951a4cecfd62e27ab5ac195b74fce69a8e3e736a0456f79b334fc6810d58e05b0711ddd392cd419f4af42
6
+ metadata.gz: c59408616011d5e7588cdab5206d018d57cdc6f068dbf5cad43681b9e2f6f4aa2a0a8ce51495a867768ca004c63aa89639d6f11b0a3d081cc7d27c63d0a4c584
7
+ data.tar.gz: 2d540913e362d63fc91b4e20a95ee95754fe3746c66f35267d1944846837e825eb573fd138a7425beb4f4299d5c71eb64f3cd23931c5c46b94d8e833abc85914
@@ -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
- # to Algolia instead of writing files to disk.
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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Algolia
5
- VERSION = '1.1.4'
5
+ VERSION = '1.1.5'
6
6
  end
7
7
  end
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
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-02-28 00:00:00.000000000 Z
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