1
0
Fork 0
Commit graph

838 commits

Author SHA1 Message Date
Renovate Bot
c6d27ea4ff chore(deps): update dependency sinon to v7.2.2 2018-12-16 03:13:57 +00:00
Renovate Bot
280a00e624 chore(deps): update dependency node-sass to v4.11.0 2018-12-16 02:21:42 +00:00
Renovate Bot
f1f2701be7 chore(deps): update dependency eslint-plugin-jest to v22.1.2 2018-12-16 01:04:54 +00:00
Pixelastic
df7c60ac17 docs(deploy-preview): Re-enable deploy previews for the doc
This re-enable deploy-previews through Netlify. It will check if
changes where made to the ./docs folder and build + deploy the preview
if so. Otherwise, it will deploy a dummy preview.

This also removes the netlify script to deploy in production whenever
we push to master, as this is now handled by Travis.
2018-12-14 12:05:41 +01:00
Sylvain Pace
e8e85b57dc
Homepage/updating logo carousel (#562)
* replacing go by jquery

* reducing size of momentjs
2018-12-11 10:34:46 +01:00
Renovate Bot
cb53ae8dcd chore(deps): update dependency inquirer to v6.2.1 2018-12-09 02:09:27 +00:00
Renovate Bot
24fcf5588a chore(deps): update babel monorepo to v7.2.0 2018-12-09 01:31:51 +00:00
Pixelastic
6dd556bd3e chore(typo): Fix typo 2018-12-03 11:05:42 +01:00
Pixelastic
b8a1c309e9 docs(deploy): Automatic deployment when doc pushed to master 2018-12-03 11:05:42 +01:00
Renovate Bot
640004f19d chore(deps): update dependency stylelint to v9.9.0 2018-12-02 03:03:30 +00:00
Renovate Bot
dddffffe15 chore(deps): update dependency prettier to v1.15.3 2018-12-02 02:48:55 +00:00
harrison-symes
6e933604fb implement query data callback method into src (#556) 2018-11-29 09:36:52 +01:00
Tim Carry
f24d4b89d0 Update docs/src/run-your-own.md
Co-Authored-By: s-pace <sylvain.pace@algolia.com>
2018-11-28 13:54:44 +01:00
Tim Carry
864bc71548 Update docs/src/config-file.md
Co-Authored-By: s-pace <sylvain.pace@algolia.com>
2018-11-28 13:54:44 +01:00
s-pace
a94a777e10 update as algolia/docsearch-scraper#419 2018-11-28 13:54:44 +01:00
Renovate Bot
ef34acf24a chore(deps): update dependency front-matter to v3 2018-11-28 10:59:08 +01:00
Renovate Bot
a84e033fc9 chore(deps): update dependency sinon to v7 2018-11-28 10:58:58 +01:00
Renovate Bot
7cc11cba0a chore(deps): update dependency eslint-plugin-jest to v22 2018-11-28 10:57:33 +01:00
Pixelastic
9f93ffb6ff fix(security): Fix dependencies to avoid infected event-stream
More info: https://github.com/dominictarr/event-stream/issues/116
2018-11-28 10:56:26 +01:00
Renovate Bot
31eebbada3 chore(deps): update dependency tailwindcss to v0.7.2 2018-11-27 21:18:24 +00:00
Renovate Bot
2d479effc2 chore(deps): update dependency stylelint to v9.8.0 2018-11-27 20:27:38 +00:00
Renovate Bot
fc1d4f666f chore(deps): update dependency remark-reference-links to v4.0.3 2018-11-27 19:19:48 +00:00
Renovate Bot
0c9178b4aa chore(deps): update dependency remark-frontmatter to v1.3.1 2018-11-27 18:22:00 +00:00
Renovate Bot
2869d248d0 chore(deps): update dependency prettier to v1.15.2 2018-11-27 17:21:00 +00:00
Renovate Bot
d1dfea122a chore(deps): update dependency normalize.css to v8.0.1 2018-11-27 16:27:15 +00:00
Renovate Bot
5097c33626 chore(deps): update dependency fs-extra to v7.0.1 2018-11-27 15:31:30 +00:00
Renovate Bot
c4f6aa1044 chore(deps): update babel monorepo 2018-11-27 14:15:56 +00:00
Pixelastic
23bb1d60c9 chore(deploy): Disable Netlify deploy-previews 2018-11-27 13:36:59 +01:00
Sylvain Pace
9a1f15e913
Doc/update setup (#546)
* updating beahviour

* update docs/src/config-file.md

* fixing error

* Update docs/src/config-file.md

Co-Authored-By: s-pace <sylvain.pace@algolia.com>

* Update docs/src/run-your-own.md

Co-Authored-By: s-pace <sylvain.pace@algolia.com>

* Update docs/src/behavior.md

Co-Authored-By: s-pace <sylvain.pace@algolia.com>

* Update docs/src/config-file.md

Co-Authored-By: s-pace <sylvain.pace@algolia.com>

* Update docs/src/run-your-own.md

Co-Authored-By: s-pace <sylvain.pace@algolia.com>

* Update docs/src/run-your-own.md

Co-Authored-By: s-pace <sylvain.pace@algolia.com>

* Update docs/src/run-your-own.md

Co-Authored-By: s-pace <sylvain.pace@algolia.com>

* chore(doc): Typo fixes
2018-11-27 11:35:56 +01:00
Renovate Bot
4cc06aa7bb chore(deps): update dependency doctoc to v1.4.0 2018-11-25 01:25:24 +00:00
Pixelastic
7fed6d9ff7 v2.6.2\n\n## [2.6.2](https://github.com/algolia/docsearch/compare/v2.6.1...v2.6.2) (2018-11-22)
### Features

* **ctrl-click:** Enable Ctrl-Click on suggestions ([#542](https://github.com/algolia/docsearch/issues/542)) ([a470c48](https://github.com/algolia/docsearch/commit/a470c48))
2018-11-22 14:18:54 +01:00
Pixelastic
d42ec07cac test(handleSelected): Add tests on selectionMethod 2018-11-22 14:07:28 +01:00
Renovate Bot
fa57746307 chore(deps): update dependency node-sass to v4.10.0 2018-11-21 16:17:16 +00:00
Tim Carry
a470c480dd
feat(ctrl-click): Enable Ctrl-Click on suggestions (#542)
* feat(ctrl-click): Enable Ctrl-Click on suggestions

This updates the underlying autocomplete.js to a version that passes
the selection context (click or keyboard) to the
`autocomplete:selected` event.

With the default `handleSelected, and in the case of a click, it will
do nothing (as each suggestion already being a `<a href>`, it will
already follow the link), but manually change the location for
keyboard navigation.

When a custom `handleSelected` is set though, default browser clicks
on suggestions are disabled and only `handleSelected` is called. This
is to keep backward compatibility with all the live websites that
might already use `handleSelected`.

* fix(test): Making sure it does not crash when no context is passed
2018-11-21 15:47:41 +01:00
Haroen Viaene
892f1b06c8 ci: use vm-based travis (#544)
Let's see if this breaks anything, since it will become required soon: https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2018-11-21 15:28:54 +01:00
Mathias Bynens
59a9617512 Omit redundant type="text/javascript" (#543)
https://mathiasbynens.be/notes/html5-levels#type-attributes
2018-11-21 08:49:24 +01:00
Renovate Bot
6194722fac chore(deps): update dependency cssnano to v4.1.7 2018-11-11 02:27:41 +00:00
Renovate Bot
80ddad2e64 chore(deps): update dependency eslint-plugin-jest to v21.27.2 2018-11-11 01:28:58 +00:00
Pixelastic
45640c796d v2.6.1\n\n## [2.6.1](https://github.com/algolia/docsearch/compare/v2.6.0...v2.6.1) (2018-11-07) 2018-11-07 17:44:26 +01:00
Tim Carry
934e6de51d
Remove postinstall (#532) 2018-11-07 17:43:28 +01:00
Tim Carry
2bba320fea
Remove release:beta entry (#529)
Script was removed in 3c98ea5882, but
the entry stayed.
2018-11-07 16:46:23 +01:00
Pixelastic
efccb73879 Re-enable branch protection 2018-11-07 15:28:02 +01:00
Pixelastic
1ae421346d v2.6.0\n\n# [2.6.0](https://github.com/algolia/docsearch/compare/v2.5.2...v2.6.0) (2018-11-07)
### Bug Fixes

* **deps:** update dependency algolia-aerial to v1.3.4 ([7e72fe0](https://github.com/algolia/docsearch/commit/7e72fe0))
* **deps:** update dependency algolia-aerial to v1.5.3 ([665438e](https://github.com/algolia/docsearch/commit/665438e))
* **deps:** update dependency algolia-frontend-components to v0.0.35 ([bd5c03f](https://github.com/algolia/docsearch/commit/bd5c03f))
* **deps:** update dependency autocomplete.js to ^0.30.0 ([21eb76a](https://github.com/algolia/docsearch/commit/21eb76a))
* **deps:** update dependency autocomplete.js to ^0.31.0 ([6c65eb2](https://github.com/algolia/docsearch/commit/6c65eb2))
* **deps:** update dependency chalk to v2 ([#323](https://github.com/algolia/docsearch/issues/323)) ([f8962bd](https://github.com/algolia/docsearch/commit/f8962bd))
* **deps:** update dependency deepmerge to v2 ([#324](https://github.com/algolia/docsearch/issues/324)) ([db212d0](https://github.com/algolia/docsearch/commit/db212d0))
* **deps:** update dependency progress to v2 ([#325](https://github.com/algolia/docsearch/issues/325)) ([a99347a](https://github.com/algolia/docsearch/commit/a99347a))
* **wording:** fixed case of DocSearch ([#262](https://github.com/algolia/docsearch/issues/262)) ([d451545](https://github.com/algolia/docsearch/commit/d451545))

### Features

* **css:** Update menu on small screen ([b5733d2](https://github.com/algolia/docsearch/commit/b5733d2))
* **docsearch:** Add custom classes on titles for better crawling ([fc79098](https://github.com/algolia/docsearch/commit/fc79098))
2018-11-07 15:11:41 +01:00
Pixelastic
799c1a335f Updating release script
Script was mentioning an update to shrinkwrap that we no longer use.
Also it was calling `yarn run doctoc` that had been remove in an old
commit, and re-added.
2018-11-07 15:11:10 +01:00
Pixelastic
7cfee31a98 Use yarn for building instead of npm 2018-11-07 15:00:28 +01:00
Pixelastic
de96a43c2c WIP: Disabling check on branch 2018-11-07 14:59:23 +01:00
Pixelastic
37d39a0297 Replace printf with echo
`printf` displays everything on the same line, and with the way yarn
itself outputs its error messages, it would override our custom
messages on the terminal, preventing us to know why things failed.

Using echo instead fixes the issue.

Other fixes are `shellcheck` warnings (`read` without `-r` will fail
on input containing `\`).
2018-11-07 14:56:41 +01:00
Pixelastic
ca8ac2c760 Allow release from yarn run
Running `yarn run release` causes issues as it can't communicate with
the proper npm registry. This happens because yarn overrides the
`npm_config_registry` variable, on which the publishing depends.

In this commit I revert the value to its default, allowing the release
script to be run either with `npm run release` or `yarn run release`.
2018-11-07 14:50:23 +01:00
Pixelastic
58a6aa0fc4 Update yarn.lock 2018-11-07 14:49:18 +01:00
Tim Carry
c0f64d2c76
Adding new logo (#526)
* Adding new logo

I reverted to the previous way of displaying the logo, as a background
SVG image. Adding a new `<svg>` inline element to the markup could
break people implementation relying on our markup, so better play safe
and keep the markup the same.

I used the SVG available on our
https://www.algolia.com/press#resources page, but trimmed it through
SVGO (50% compression) before adding it to the background.

* Updating logo to version validated by design team

Original dimensions are 168x24, but this is substancially bigger than what we
used to have (130x19px). InstantSearch used a 134x20px ratio, and
I re-used the same. Slightly bigger than what we had before, but
keeping the correct ratio.
2018-11-07 14:36:24 +01:00