31 Commits

Author SHA1 Message Date
Pixelastic
1500d71da8 fix(redirect): Exclude redirect pages from indexing 2018-04-04 15:20:07 +02:00
Pixelastic
e2bb5f7238 fix(excerpt): Only use default excerpt when needed 2018-03-28 16:43:13 +02:00
Pixelastic
50041a3545 fix(excerpt): Use the first <p> as the excerpt 2018-03-27 18:50:29 +02:00
Pixelastic
d8a7dad71d fix(date): Correctly set date to nil in collections 2018-03-20 11:39:16 +01:00
Pixelastic
75231a3fda fix(files_to_exclude): Allow excluding files at the root only 2018-03-15 12:13:00 +01:00
Pixelastic
dd3f618b38 perf(rendering): Massive perf improvement bypassing rendering 2018-03-14 18:05:43 +01:00
Pixelastic
6021688fda fix(exclude): Correctly exclude path starting with ./ 2018-03-13 17:11:23 +01:00
Pixelastic
4265d4cfac feat(schema): Flattening hierarchy to headings 2018-03-13 13:58:54 +01:00
Pixelastic
0376f60d7d fix(schema): Removing draft and ext from the record fields 2018-03-13 10:04:29 +01:00
Pixelastic
6b94a461f6 feat(custom_ranking): Naming key custom_ranking instead of weight 2018-03-12 17:23:07 +01:00
Pixelastic
20f5595fb0 fix(paginate): Prevent pagination pages from being rendered 2018-02-28 15:18:44 +01:00
Pixelastic
8a0b9cd0ec fix(extract): Remove serialized version of unknown objects 2018-02-27 18:31:25 +01:00
Pixelastic
e70b4fe3bd fix(path): Correctly get relative path for relative sources 2018-02-27 15:27:24 +01:00
Pixelastic
89f8b48766 feat(exclude): Exclude ignore files from rendering 2018-02-27 15:04:38 +01:00
Pixelastic
6ab7a50a2e fix(absolute_path): Handle relative source
absolute_path will always return an absolute path, even if the source
is defined as relative
2018-02-26 14:28:47 +01:00
Pixelastic
ab46596ba5 fix(jekyll-asciidoc): Exclude document key added by jekyll-asciidoc 2018-02-14 16:46:56 +01:00
Pixelastic
2beae1f330 fix(paths): Handles both relative and absolute paths 2018-02-13 17:28:09 +01:00
Ale Muñoz
fa1ddd9248 Update file_browser.rb
The current code will check if `/project/path/file/path.extension` is included on an array of paths in this form: `file/path.extension`. That'll always return false, so the files will never be excluded.

In my case, I have a project in `/Users/ale/Code/Website-frontend`, and in my `_config.yml` I have a `files_to_exclude: [_pages/**/*]` setting.

If I run `jekyll algolia` without this fix, one of my files is checked against the excluded files array using its full path (`/Users/ale/Code/Website-frontend/_pages/community/organizer-guide.md`), while the array contains its relative path (`_pages/community/organizer-guide.md`) so it doesn't match and it's included on the index.

I haven't had time to update the spec for this change, but since the tests still pass I assume there's something wrong with the existing tests.
2018-02-13 17:27:22 +01:00
Pixelastic
61bb7314e4 fix(excerpt): Don't fail on malformed excerpt 2018-02-12 13:53:34 +01:00
Pixelastic
7fa64b43ed fix(pagination): Exclude pagination pages defined by paginate_path 2017-12-22 12:59:44 +01:00
Pixelastic
16a0102d60 fix(date): Make sure collections have a nil date if none defined 2017-12-22 12:04:57 +01:00
Pixelastic
bd826c5ee0 fix(hooks): Apply unique objectID after all hooks 2017-12-19 18:49:00 +01:00
Pixelastic
04713474e8 chore(rubocop): Auto-fix Rubocop errors for Ruby 2.3
Original idea coming from https://github.com/algolia/jekyll-algolia/pull/18
2017-11-28 14:44:36 +01:00
Pixelastic
1bd2fc49fd Allow glob patterns in files_to_exclude 2017-11-17 19:17:47 +01:00
Pixelastic
7812be9cb4 Adding verbose tests 2017-11-15 12:11:57 +01:00
Pixelastic
680e09f135 Add tests for logging custom errors 2017-11-13 17:14:51 +01:00
Pixelastic
6a137fa850 Make tests running in all versions 2017-11-13 11:12:54 +01:00
Pixelastic
fcf67a08a6 Add string/regex matcher for all versions 2017-11-11 01:22:59 +01:00
Pixelastic
45200fe8d1 Add missing tests to FileBrowser
Can now extract all data from all files
2017-11-10 16:15:29 +01:00
Pixelastic
7b9982b788 Adding FileBrowser export of file metadata 2017-11-10 14:43:40 +01:00
Pixelastic
b05916f6b1 Adding Configurator and FileBrowser + tests 2017-11-09 17:29:01 +01:00