jekyll-algolia 1.0.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +51 -30
  3. data/README.md +69 -27
  4. data/lib/errors/invalid_credentials.txt +12 -0
  5. data/lib/errors/invalid_index_name.txt +9 -0
  6. data/lib/errors/missing_api_key.txt +15 -0
  7. data/lib/errors/missing_application_id.txt +11 -0
  8. data/lib/errors/missing_index_name.txt +18 -0
  9. data/lib/errors/no_records_found.txt +14 -0
  10. data/lib/errors/record_too_big.txt +27 -0
  11. data/lib/errors/record_too_big_api.txt +10 -0
  12. data/lib/errors/settings_manually_edited.txt +17 -0
  13. data/lib/errors/too_many_records.txt +14 -0
  14. data/lib/errors/unknown_application_id.txt +16 -0
  15. data/lib/errors/unknown_settings.txt +12 -0
  16. data/lib/jekyll-algolia.rb +45 -60
  17. data/lib/jekyll/algolia/configurator.rb +137 -44
  18. data/lib/jekyll/algolia/error_handler.rb +36 -48
  19. data/lib/jekyll/algolia/extractor.rb +16 -6
  20. data/lib/jekyll/algolia/file_browser.rb +161 -68
  21. data/lib/jekyll/algolia/hooks.rb +18 -6
  22. data/lib/jekyll/algolia/indexer.rb +283 -145
  23. data/lib/jekyll/algolia/logger.rb +39 -8
  24. data/lib/jekyll/algolia/overwrites/githubpages-configuration.rb +32 -0
  25. data/lib/jekyll/algolia/overwrites/jekyll-algolia-site.rb +151 -0
  26. data/lib/jekyll/algolia/overwrites/jekyll-document.rb +13 -0
  27. data/lib/jekyll/algolia/overwrites/jekyll-paginate-pager.rb +20 -0
  28. data/lib/jekyll/algolia/overwrites/jekyll-tags-link.rb +33 -0
  29. data/lib/jekyll/algolia/progress_bar.rb +27 -0
  30. data/lib/jekyll/algolia/shrinker.rb +112 -0
  31. data/lib/jekyll/algolia/utils.rb +118 -2
  32. data/lib/jekyll/algolia/version.rb +1 -1
  33. data/lib/jekyll/commands/algolia.rb +3 -14
  34. metadata +75 -31
  35. data/errors/invalid_credentials.txt +0 -10
  36. data/errors/invalid_credentials_for_tmp_index.txt +0 -17
  37. data/errors/invalid_index_name.txt +0 -11
  38. data/errors/missing_api_key.txt +0 -17
  39. data/errors/missing_application_id.txt +0 -12
  40. data/errors/missing_index_name.txt +0 -19
  41. data/errors/no_records_found.txt +0 -20
  42. data/errors/record_too_big.txt +0 -25
  43. data/errors/unknown_application_id.txt +0 -20
  44. data/errors/unknown_settings.txt +0 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3612f58d87d7a769325fb89b2e76ea707278083a
4
- data.tar.gz: 3a9e7d91f9183086831d2b276b7fd9e980fcd55a
3
+ metadata.gz: acb6baac7733e9ffea20049f4da7ce780fc1a8f6
4
+ data.tar.gz: aca94cb6fdbc4cfc64ce8517d634fc27e390b69b
5
5
  SHA512:
6
- metadata.gz: ac705f398e1afc3db83611145a1070f713fffa6b5b51c34ef1dd8d257aad4aa3004dd2bc012234cbe88012cbe3cb594a32ceec1e108803c2566d8341cef536ac
7
- data.tar.gz: 3b2728420b29fbef3e8cbf258c355e84760f46657b7cdcf76d9c1f48eec48cd2192e373f23b9fcdd5206747e3262c5c9a5adbae9b8c58b80ee08efc2522317e4
6
+ metadata.gz: 7da14579642014799a3e8a159b09aa7862007af435b60cbaab3fa891df9d1e8da7c711296ff45ece7cd4e47fbc55bea8a52a4237205005ba1936b2dd99ed8ec1
7
+ data.tar.gz: 55cbe18cf38a8a0adb103599dff92bf21207eeda2504e4c6bdf4b9a9ae6d65da51ddcf1688199ae49b97b0a36b41c093dd3604e41eed35d5cfbb0288cfc4beca
@@ -1,10 +1,9 @@
1
1
  Hi collaborator!
2
2
 
3
- If you have a fix or a new feature, please start by checking in the
4
- [issues](https://github.com/algolia/jekyll-algolia/issues) if it is
5
- already referenced. If not, feel free to open one.
3
+ If you have a fix or a new feature, please start by checking in the [issues][1]
4
+ if it is already referenced. If not, feel free to open one.
6
5
 
7
- We use [pull requests](https://github.com/algolia/jekyll-algolia/pulls)
6
+ We use [pull requests][2]
8
7
  for collaboration. The workflow is as follow:
9
8
 
10
9
  - Create a local branch, starting from `develop`
@@ -20,23 +19,18 @@ Start by running `bundle install` to get all the dependencies up to date.
20
19
 
21
20
  ## Testing
22
21
 
23
- Run `rake test` to launch all tests. You can run `rake test_details` to get an
24
- output with more details about the tests.
22
+ Run `rake test` to launch the test suite. Run `./scripts/test_all_ruby_versions`
23
+ to run the test on all the supported ruby versions (requires `rvm`).
25
24
 
26
25
  ## TDD
27
26
 
28
- // TODO
29
-
30
- ## Testing different ruby versions
31
-
32
- You can test the gem across all the supported Ruby versions by running
33
- `./scripts/test_all_ruby_versions`. Note that you will need to have RVM
34
- installed for this to work.
27
+ Run `rake watch` to start a watcher on the code and test files. Whenever you
28
+ update the code, the relevant tests will be run. Incredibly useful for TDD.
35
29
 
36
30
  ## Testing local changes on an existing Jekyll website
37
31
 
38
32
  If you want to test the plugin on an existing Jekyll website while developping,
39
- I suggest updating the website `Gemfile` to point to the correct local directory
33
+ we suggest updating the website `Gemfile` to point to the correct local directory
40
34
 
41
35
  ```ruby
42
36
  group :jekyll_plugins do
@@ -44,10 +38,29 @@ group :jekyll_plugins do
44
38
  end
45
39
  ```
46
40
 
41
+ ## Running integration tests
42
+
43
+ Integration tests will do a full jekyll run, and push data to an Algolia index,
44
+ checking that records and settings are correctly saved. It is the slowest
45
+ possible kind of tests, but also the one closest to a real implementation.
46
+
47
+ Running those tests requires a real Algolia plan. You need to define
48
+ `ALGOLIA_APPLICATION_ID`, `ALGOLIA_API_KEY` and `ALGOLIA_INDEX_NAME` (we suggest
49
+ using `direnv` for that), and then run `./scripts/test_integration`.
50
+
51
+ ## Linting
52
+
53
+ Run `rake lint` to check the style of all ruby files. Run `rake
54
+ lint:auto_correct` to try to automatically correct the potential violations.
55
+ It's always a good practice to double check the modification after an
56
+ auto-correct.
57
+
47
58
  # Git Hooks
48
59
 
49
- If you plan on submitting a PR, I suggest you install the git hooks located in
50
- `./scripts/git_hook`.
60
+ If you plan on submitting a PR, we suggest you install the git hooks located in
61
+ `./scripts/git_hook`. Those hooks will run the linter on each commit, and the
62
+ tests before each push. This greatly help reduce the chances of breaking the
63
+ build on Travis.
51
64
 
52
65
  The easiest way is to create a symlink from your `.git/hooks` folder:
53
66
 
@@ -67,28 +80,36 @@ the git tags, create the gem and push it to Rubygems.
67
80
 
68
81
  ## Requirements
69
82
 
70
- To run this project, you will need:
83
+ The documentation website uses Metalsmith (and not Jekyll), so you'll need:
71
84
 
72
- - Node.js >= v9.2.0, use nvm - [install instructions](https://github.com/creationix/nvm#install-script)
73
- - Yarn >= v1.3.2 - [install instructions](https://yarnpkg.com/en/docs/install#alternatives-tab)
85
+ - Node.js >= v9.2.0, use nvm - [install instructions][3]
86
+ - Yarn >= v1.3.2 - [install instructions][4]
74
87
 
75
88
  ## Development
76
89
 
77
- ```sh
78
- yarn
79
- yarn start
80
- ```
90
+ All the documentation source files live in the `./docs-src` folder.
81
91
 
82
- Go to <http://localhost:3000>.
92
+ To serve a local version of the documentation (including livereload), run `rake
93
+ docs:serve`. The documentation will be available on
94
+ [localhost:3000](http://localhost:3000/).
83
95
 
84
- ## Update docs
96
+ This will create a `./docs-dev` folder and serve files from there. This folder
97
+ is ignored by git.
85
98
 
86
- ```sh
87
- yarn docs:update
88
- git push
89
- ```
99
+ ## Deploying docs
90
100
 
101
+ To update the documentation website, you should run `rake docs:deploy` from the
102
+ `develop` branch. This will merge `develop` into master, build the documentation
103
+ into `docs` and push it. The content of the `./docs` folder will then be server
104
+ by GitHub pages.
91
105
 
92
106
  # Project owner
93
107
 
94
- [@pixelastic](https://github.com/pixelastic)
108
+ [@pixelastic][5]
109
+
110
+
111
+ [1]: https://github.com/algolia/jekyll-algolia/issues
112
+ [2]: https://github.com/algolia/jekyll-algolia/pulls
113
+ [3]: https://github.com/creationix/nvm#install-script
114
+ [4]: https://yarnpkg.com/en/docs/install#alternatives-tab
115
+ [5]: https://github.com/pixelastic
data/README.md CHANGED
@@ -1,12 +1,13 @@
1
1
  # Jekyll Algolia Plugin
2
2
 
3
- [![Gem Version][1]](http://badge.fury.io/rb/jekyll-algolia) [![Build
4
- Status][2]](https://travis-ci.org/algolia/jekyll-algolia) [![Coverage
5
- Status][3]](https://coveralls.io/github/algolia/jekyll-algolia?branch=master)
6
- [![Code Climate][4]](https://codeclimate.com/github/algolia/jekyll-algolia)
7
- ![Jekyll >= 3.6.0][5] ![Ruby >= 2.3.0][6]
3
+ [![gem version][1]][16]
4
+ ![ruby][2]
5
+ ![jekyll][3]
6
+ [![build master][4]][17]
7
+ [![build develop][6]][17]
8
+ [![coverage master][5]][18]
8
9
 
9
- Jekyll plugin to automatically index your content on Algolia.
10
+ Add fast and relevant search to your Jekyll site.
10
11
 
11
12
  ## Usage
12
13
 
@@ -19,7 +20,7 @@ This will push the content of your Jekyll website to your Algolia index.
19
20
  ## Documentation
20
21
 
21
22
  Full documentation can be found on
22
- [https://community.algolia.com/jekyll-algolia/](https://community.algolia.com/jekyll-algolia/)
23
+ [https://community.algolia.com/jekyll-algolia/][20]
23
24
 
24
25
  ## Installation
25
26
 
@@ -40,48 +41,89 @@ Once this is done, download all dependencies with `bundle install`.
40
41
 
41
42
  ## Basic configuration
42
43
 
43
- You need to provide certain Algolia credentials for this plugin to *index* your
44
+ You need to provide certain Algolia credentials for this plugin to _index_ your
44
45
  site.
45
46
 
46
- *If you don't yet have an Algolia account, you can open a free [Community plan
47
- here][7]. Once signed in, you can get your credentials from
48
- [your dashboard][8].*
47
+ _If you don't yet have an Algolia account, we suggest that you open a free
48
+ [Community plan here][8]. You can find more information about the Algolia plans
49
+ [in our FAQ][10]._
49
50
 
50
- Once you have your credentials, you should define your `application_id` and
51
- `index_name` inside your `_config.yml` file like this:
51
+ Once signed in, you should get your application ID from [your dashboard][9] and
52
+ define it inside your `_config.yml` file like this:
52
53
 
53
54
  ```yaml
54
55
  # _config.yml
55
56
 
56
57
  algolia:
57
58
  application_id: 'your_application_id'
58
- index_name: 'your_index_name'
59
59
  ```
60
60
 
61
61
  ## Run it
62
62
 
63
- Once your credentials are setup, you can run the indexing by running the
63
+ Once your application ID is setup, you can run the indexing by running the
64
64
  following command:
65
65
 
66
66
  ```shell
67
- ALGOLIA_API_KEY='{your_admin_api_key}' bundle exec jekyll algolia
67
+ ALGOLIA_API_KEY='your_admin_api_key' bundle exec jekyll algolia
68
68
  ```
69
69
 
70
70
  Note that `ALGOLIA_API_KEY` should be set to your admin API key.
71
71
 
72
+ ## More about the Community plan
73
+
74
+ The Algolia [Community plan][11] lets you host up to 10k records and perform up
75
+ to 100k add/edit/delete operations per month (search operations are free). The
76
+ plan is entirely free, with no time limit.
77
+
78
+ What we ask in exchange is that you display a "Search by Algolia" logo next to
79
+ your search results. Our [InstantSearch libraries][12] have a simple boolean
80
+ option to toggle that on an off. If you want more flexibility, you can find
81
+ all versions of our logo [here][13].
82
+
83
+ If you need more information about the other Algolia plans, you can [check our
84
+ FAQ][10].
85
+
72
86
  # Thanks
73
87
 
74
- Thanks to [Anatoliy Yastreb][9] for a [great tutorial][10] on creating Jekyll
88
+ Thanks to [Anatoliy Yastreb][14] for a [great tutorial][15] on creating Jekyll
75
89
  plugins.
76
90
 
77
-
78
91
  [1]: https://badge.fury.io/rb/jekyll-algolia.svg
79
- [2]: https://travis-ci.org/algolia/jekyll-algolia.svg?branch=master
80
- [3]: https://coveralls.io/repos/algolia/jekyll-algolia/badge.svg?branch=master&service=github
81
- [4]: https://codeclimate.com/github/algolia/jekyll-algolia/badges/gpa.svg
82
- [5]: https://img.shields.io/badge/jekyll-%3E%3D%203.6.0-green.svg
83
- [6]: https://img.shields.io/badge/ruby-%3E%3D%202.3.0-green.svg
84
- [7]: https://www.algolia.com/users/sign_up/hacker
85
- [8]: https://www.algolia.com/licensing
86
- [9]: https://github.com/ayastreb/
87
- [10]: https://ayastreb.me/writing-a-jekyll-plugin/
92
+
93
+ [2]: https://img.shields.io/badge/ruby-%3E%3D%202.3.0-green.svg
94
+
95
+ [3]: https://img.shields.io/badge/jekyll-%3E%3D%203.6.0-green.svg
96
+
97
+ [4]: https://img.shields.io/badge/dynamic/json.svg?label=build%3Amaster&query=value&uri=https%3A%2F%2Fimg.shields.io%2Ftravis%2Falgolia%2Fjekyll-algolia.json%3Fbranch%3Dmaster
98
+
99
+ [5]: https://coveralls.io/repos/github/algolia/jekyll-algolia/badge.svg?branch=master
100
+
101
+ [6]: https://img.shields.io/badge/dynamic/json.svg?label=build%3Adevelop&query=value&uri=https%3A%2F%2Fimg.shields.io%2Ftravis%2Falgolia%2Fjekyll-algolia.json%3Fbranch%3Ddevelop
102
+
103
+ [7]: https://coveralls.io/repos/github/algolia/jekyll-algolia/badge.svg?branch=develop
104
+
105
+ [8]: #more-about-the-community-plan
106
+
107
+ [9]: https://www.algolia.com/api-keys
108
+
109
+ [10]: https://community.algolia.com/jekyll-algolia/faq.html#how-many-records-will-the-plugin-need
110
+
111
+ [11]: https://www.algolia.com/users/sign_up/hacker
112
+
113
+ [12]: https://community.algolia.com/instantsearch.js/
114
+
115
+ [13]: https://www.algolia.com/press/?section=brand-guidelines
116
+
117
+ [14]: https://github.com/ayastreb/
118
+
119
+ [15]: https://ayastreb.me/writing-a-jekyll-plugin/
120
+
121
+ [16]: https://rubygems.org/gems/jekyll-algolia
122
+
123
+ [17]: https://travis-ci.org/algolia/jekyll-algolia
124
+
125
+ [18]: https://coveralls.io/github/algolia/jekyll-algolia?branch=master
126
+
127
+ [19]: https://coveralls.io/github/algolia/jekyll-algolia?branch=develop
128
+
129
+ [20]: https://community.algolia.com/jekyll-algolia/getting-started.html
@@ -0,0 +1,12 @@
1
+ E:[✗ Error] Invalid credentials
2
+ E:
3
+ E:The jekyll-algolia plugin could not connect to your application ID using the API key your provided.
4
+ W:
5
+ W:Make sure your API key has access to your {application_id} application.
6
+ W:It should also have the rights to push to the following indices:
7
+ W:   - {index_name}
8
+ W:   - {index_object_ids_name}
9
+ I:
10
+ I:You can find your API key in your Algolia dashboard here:
11
+ I:   https://www.algolia.com/licensing
12
+ I:
@@ -0,0 +1,9 @@
1
+ E:[✗ Error] Invalid index name
2
+ E:
3
+ E:The jekyll-algolia plugin could push records to your index as its name contains invalid characters.
4
+ W:
5
+ W:Some special characters are not allowed in the naming of indices and your index {index_name} contains some of them.
6
+ I:
7
+ I:Please, check our FAQ for more details:
8
+ I:  https://www.algolia.com/doc/faq/index-configuration/what-can-i-name-my-indices/
9
+ I:
@@ -0,0 +1,15 @@
1
+ E:[✗ Error] Missing API key
2
+ E:
3
+ E:The jekyll-algolia plugin could not find your API key.
4
+ W:
5
+ W:Please, define your API key either by:
6
+ W:
7
+ W:1/ Defining an ENV variable when calling `jekyll algolia`
8
+ W:   $ ALGOLIA_API_KEY='your_api_key' jekyll algolia
9
+ W:
10
+ W:2/ Save your API key in a named `_algolia_api_key` in your source directory.
11
+ W:   If you do this, we strongly recommend you to NOT track this file in your versionning system.
12
+ I:
13
+ I:You can find your API key in your Algolia dashboard here:
14
+ I:   https://www.algolia.com/api-keys
15
+ I:
@@ -0,0 +1,11 @@
1
+ E:[✗ Error] No application ID defined
2
+ E:
3
+ E:The jekyll-algolia plugin could not find your Algolia application ID.
4
+ W:
5
+ W:Please, define it in your Jekyll _config.yml file like this:
6
+ W:
7
+ W:  algolia:
8
+ W:    application_id: {your_application_id}
9
+ I:
10
+ I:You can find your application ID along with all your credentials in your Algolia dashboard here:
11
+ I:   https://www.algolia.com/api-keys
@@ -0,0 +1,18 @@
1
+ E:[✗ Error] No index name defined
2
+ E:
3
+ E:The jekyll-algolia plugin could not find the name of the Algolia index you want to push your records to.
4
+ W:
5
+ W:Please, define it in your Jekyll _config.yml file like this:
6
+ W:
7
+ W:  algolia:
8
+ W:   index_name: your_index_name
9
+ W:
10
+ W:Alternatively, you can also define it as an ENV variable, like this:
11
+ W:
12
+ W:  $ ALGOLIA_INDEX_NAME='{your_index_name}' jekyll algolia
13
+ W:
14
+ I:You can see all your indices from your Algolia dashboard here:
15
+ I:  https://www.algolia.com/explorer
16
+ I:
17
+ I:Note that you don't have to create an index before pushing records.
18
+ I:It will be created automatically if it does not exist yet.
@@ -0,0 +1,14 @@
1
+ E:[✗ Error] No records found
2
+ E:
3
+ E:The jekyll-algolia plugin could not find any records to index.
4
+ W:
5
+ W:The plugin tried to extract records from the pages, posts and collections of your site but could not find anything to index.
6
+ I:
7
+ I:Make sure you did not exclude too many files from indexing using the `files_to_exclude` option. You are currently excluding the following files:
8
+ I:    {files_to_exclude}
9
+ I:
10
+ I:Also double check that your current value for `nodes_to_index` can actually match something in the pages. You are current indexing the following nodes:
11
+ I:    {nodes_to_index}
12
+ I:
13
+ I:Note that all the markup that is defined in the layouts won't be available during extraction. Only the page content can be accessed. So if you defined a layout markup that is used only for one page, you should move it to the page instead.
14
+ I:
@@ -0,0 +1,27 @@
1
+ E:[✗ Error] Record is too big
2
+ E:
3
+ E:The jekyll-algolia plugin detected that one of your records exceeds the {max_record_size} record size limit.
4
+ W:
5
+ W:title:    {object_title}
6
+ W:url:      {object_url}
7
+ W:size:     {record_size}
8
+ W:
9
+ W:Most probable keys causing the issue:
10
+ W:   {probable_wrong_keys}
11
+ W:
12
+ W:Complete log of the record has been extracted to:
13
+ W:   {record_log_path}
14
+ W:
15
+ I:This issue can be caused by malformed HTML preventing the parser to correctly grab the content of the nodes. Double check that the page actually renders correctly with a regular `jekyll build`.
16
+ I:
17
+ I:You can also exclude the page generating this error from the indexing by editing the `files_to_exclude` key of your config.
18
+ I:
19
+ I:If you think this is an error and your current Algolia plan should allow you to push records bigger than {max_record_size}, you can change the `max_record_size` config option to increase the limit. Paid plans have a limit set to 20Kb, while free Community plans have it set to 10Kb.
20
+ I:
21
+ I:The following documentation might help you:
22
+ I:   - https://community.algolia.com/jekyll-algolia/options.html#files-to-exclude
23
+ I:   - https://community.algolia.com/jekyll-algolia/options.html#nodes-to-index
24
+ I:   - https://community.algolia.com/jekyll-algolia/options.html#max-record-size
25
+ I:
26
+ I:If you're still having trouble solving this issue, feel free to file a bug on GitHub, ideally with a link to a repository where we can reproduce the issue.
27
+ I:  https://github.com/algolia/jekyll-algolia/issues
@@ -0,0 +1,10 @@
1
+ E:[✗ Error] Record is too big
2
+ E:
3
+ E:The API rejected one of your records because it is too big ({record_size}).
4
+ W:
5
+ W:Make sure the value of `max_record_size` (currently set to "{max_record_size}") matches the maximum size allowed by your current Algolia plan.
6
+ W:
7
+ I:Free Community plans can push records up to 10Kb (`max_record_size: 10000`, this is the default value), while paid plans can go up to 20Kb (`max_record_size: 20000`).
8
+ I:
9
+ I:If you're still having trouble solving this issue, feel free to file a bug on GitHub, ideally with a link to a repository where we can reproduce the issue.
10
+ I:  https://github.com/algolia/jekyll-algolia/issues
@@ -0,0 +1,17 @@
1
+ I:
2
+ W:[jekyll-algolia] Configuration mismatch:
3
+ W:It seems that your index settings have been edited from outside of the jekyll-algolia plugin.
4
+ I:
5
+ I:This can happen if you manually edited them from the Algolia dashboard, for example. Don't worry, they will still be honored (for now).
6
+ I:
7
+ I:Still, we strongly encourage you to save any custom config inside the algolia.settings key of your _config.yml instead. Any value set there will always take precedence over anything you manually set in your dashboard.
8
+ I:This is the best way to be sure your settings won't be lost in the future.
9
+ I:
10
+ W:To keep your current custom config, here is what you should add to your _config.yml file:
11
+ W:
12
+ W:algolia:
13
+ W:  settings:
14
+ {settings}
15
+ I:
16
+ I:If you'd like to revert to the default settings, the easiest way is to delete the {index_name} index from your dashboard and run `jekyll algolia` again.
17
+ I:
@@ -0,0 +1,14 @@
1
+ E:[✗ Error] Too many records
2
+ E:
3
+ E:The jekyll-algolia plugin could not push your records because it exceeds the maximum number of records allowed in your current plan.
4
+ W:
5
+ W:Community plans can host up to 10k records and Essential plans starts at 50k.
6
+ W:
7
+ W:Check our pricing page for more details:
8
+ W:   https://www.algolia.com/pricing
9
+ W:
10
+ I:You might want to upgrade your plan or exclude records from indexing using the `files_to_exclude` option:
11
+ I:   https://community.algolia.com/jekyll-algolia/options.html#files-to-exclude
12
+ I:
13
+ I:If you're having trouble solving this issue, feel free to file a bug on GitHub, ideally with a link to a repository where we can reproduce the issue as well as the APPID you're trying to push to.
14
+ I:  https://github.com/algolia/jekyll-algolia/issues
@@ -0,0 +1,16 @@
1
+ E:[✗ Error] Unreachable server
2
+ E:
3
+ E:The jekyll-algolia plugin could not contact the server hosting your application.
4
+ W:
5
+ W:Make sure you correctly typed your application ID. As we are using the application ID as part of the server url, any typo in the application ID will prevent us from reaching your server.
6
+ W:
7
+ I:Here is the application ID you defined: {application_id}
8
+ I:
9
+ I:Make sure it's the same as the one displayed in your dashboard:
10
+ I:   https://www.algolia.com/api-keys
11
+ I:
12
+ I:Then, define it in your Jekyll _config.yml file like this:
13
+ I:
14
+ I:  algolia:
15
+ I:    application_id: your_application_id
16
+ I: