1
0
Fork 0
Commit graph

65 commits

Author SHA1 Message Date
Pixelastic
efccb73879 Re-enable branch protection 2018-11-07 15:28:02 +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
Tim Carry
cc0d501012
Add test that normal click is disable with custom handleSelected (#523) 2018-11-06 09:32:34 +01:00
Pixelastic
5e85d7b2ec Add tests (still one test WIP) 2018-11-05 10:22:29 +01:00
Pixelastic
89313450dc Disable links with handleSelected is defined 2018-11-05 10:22:29 +01:00
Pixelastic
6442e032d8 Serve playground 2018-11-05 10:22:29 +01:00
Tim Carry
dd6f2f1611
Better explanation of playground
Co-Authored-By: s-pace <sylvain.pace@algolia.com>
2018-11-02 11:40:54 +01:00
s-pace
b5abdce7e0 test compatibility with multi selectors 2018-11-02 10:05:11 +01:00
s-pace
9e80e72db7 change args.inputSelector as a string 2018-11-02 09:30:05 +01:00
s-pace
b8c55699ef adding multi input feature closes #230 2018-11-01 22:50:00 +01:00
s-pace
8e52c20a02 add a playground to use served assets 2018-11-01 15:21:03 +01:00
Tim Carry
dc299069d4
docs(deploy): Document how to deploy the website (#475) 2018-10-08 13:06:42 +02:00
Pixelastic
36d176514d Deploy documentation website on push to master 2018-08-27 20:11:56 +02:00
Pixelastic
0c5b610159 docs(deploy): Update deploy documentation system 2018-08-20 13:51:59 +02:00
Pixelastic
b53d269bfe Update CONTRIBUTING and fix tests 2018-08-20 13:24:55 +02:00
Pixelastic
2a2b82fb6c Move all new docs to docs/ subfolder 2018-08-20 13:23:35 +02:00
Pixelastic
a15ac23cbc WIP 2018-08-20 13:21:04 +02:00
Vincent Voyer
7e364e25ba
Update release 2018-05-28 21:41:56 +02:00
Sylvain Pace
498675f9a3
Revert "Revert "doc(site): Fixed typos (#277)" (#278)" (#279)
This reverts commit 883894f963.
2018-03-12 16:19:09 +01:00
Sylvain Pace
883894f963
Revert "doc(site): Fixed typos (#277)" (#278)
This reverts commit d3f0aaca85.
2018-03-11 21:17:19 +01:00
Pascal Borreli
d3f0aaca85 doc(site): Fixed typos (#277) 2018-03-11 21:01:45 +01:00
Maxime
1d3dd207c0 move community website to middleman 2018-02-07 10:56:52 +01:00
vvo
1e72486468 chore(build): comment fix 2017-12-07 13:15:23 +01:00
vvo
67ad98332c chore(build): provide styles in npm package
fixes #251
2017-12-07 13:14:00 +01:00
Vincent Voyer
186dfcce53
chore(deps): fix all deps (#255)
* chore(deps): fix all deps

* test
2017-12-07 12:49:06 +01:00
vvo
68d3e0b827 chore(build): fix minification since uglifyjs 3 2017-11-28 17:25:01 +01:00
Frank Taillandier
994723e482 docs(website): bump jekyll to latest 2017-10-18 10:51:33 +02:00
Vincent Voyer
5afc05ecd2 chore(cleaning): upgrade all deps, prepare renovate (#206) 2017-10-18 00:43:51 +02:00
Lucas Bonomi
9663e01543 docs(website): new design and logo 2017-10-17 22:16:04 +02:00
Vincent Voyer
28159c2801 chore(docs): precise how to run project (#200)
Remove redundant messages in README and CONTRIBUTING. Move GIF to
bootstrap.

Allow netlify deploys to work.
2017-10-17 17:02:45 +02:00
vvo
f3c50cb115 chore(ci): fix travis 2017-09-11 21:15:57 +02:00
vvo
7508049fb9 chore(release): fix build 2017-03-27 18:36:09 +02:00
Vincent Voyer
3c98ea5882 chore(stack update): update the whole docsearch stack (#173)
* chore(stack update): update the whole docsearch stack

In an effort to reduce our stack diversity I am moving docsearch to:
- latest eslint
- prettier
- webpack 2
- babel 6 (babel 7 is soon to be released, we were on babel 5)
- babel-preset-env (support: IE >=9, Two latest version of evergreen
browsers).
- jest

* chore(contrib): remove develop branch, cc @redox
2017-03-17 16:22:00 +01:00
vvo
68bab4112e chore(release): update doc publish system 2017-03-10 11:57:30 +01:00
vvo
0d59029c44 chore(release): use yarn 2017-02-23 13:37:48 -08:00
vvo
c3d2984362 test(travis): raise timeout for travis 2016-12-13 14:07:01 +01:00
vvo
42cf496e37 chore(build): fix build 2016-10-03 14:15:40 +02:00
Vincent Voyer
5a8c457972 chore(shrinkwrap): remove shrinkwrap (#106) 2016-06-10 16:21:13 +02:00
Tim Carry
ef83775f7e feat(serve): Watch and serve all needed files (#91)
Running `npm run serve` will watch for changes in the source files and
rebuild all `css` and `js` files accordingly in the `dist` folder. It
will also expose the same files on `http://localhost:8080/` (by
default, if port `8080` is already taken it will move to an available
one).

This will let developers use a specific branch/version of docsearch in
their projects. Just open a new tab and run `npm run serve` in the
docsearch repo, and you'll be able to include the scripts from the
running server in your HTML.

As files are automatically regenerated on disk whenever a change is
detected, you can also `require` files by targeting the `dist` folder.
2016-05-12 11:58:28 +02:00
Pixelastic
31e5d139d5 feat(serve): Add npm run serve to expose js and css locally 2016-03-10 10:46:46 +01:00
Matthieu Dumont
71b652bd92 docs(documentation.md): Fix not working links
Closes #65
2016-01-27 14:55:10 +01:00
Pixelastic
bfa06b26c3 docs(readme): Add badges
This adds badges to the readme, including the coverage one (through
coveralls).
2015-12-23 10:47:17 +01:00
Sylvain UTARD
508c8e9b13 chore(scripts): this is bashism 2015-12-18 19:09:33 +01:00
Sylvain UTARD
eaf2f9f42f chore(publish): ensure we use the jekyll of the bundle 2015-12-18 19:03:26 +01:00
Matthieu Dumont
a3cf2cd2b4 docs(documentation.md): Use START and END tag
Instead of explicitely listing all sections
2015-12-18 19:03:26 +01:00
Matthieu Dumont
33c1841ad3 docs(documentation): Add a documentation page extracted from the README 2015-12-18 19:02:56 +01:00