### 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))
79 lines
1.9 KiB
Markdown
79 lines
1.9 KiB
Markdown
Hi (future) collaborator!
|
|
|
|
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
|
|
|
|
- [Where to start?](#where-to-start)
|
|
- [Development workflow](#development-workflow)
|
|
- [Requirements](#requirements)
|
|
- [Build](#build)
|
|
- [Serve](#serve)
|
|
- [Test](#test)
|
|
- [Docs](#docs)
|
|
- [Release](#release)
|
|
|
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
|
|
|
# Where to start?
|
|
|
|
Have a fix or a new feature? [Search for corresponding
|
|
issues][14] first then create a new
|
|
one.
|
|
|
|
# Development workflow
|
|
|
|
## Requirements
|
|
|
|
To run this project, you will need:
|
|
|
|
- Node.js >= v8.7.0, use nvm - [install
|
|
instructions][15]
|
|
- Yarn
|
|
|
|
## Build
|
|
|
|
`yarn run build` will build all files in `./dist`. This includes regular and
|
|
minified files for `<script>` inclusion, as well as classes for `import`ing.
|
|
|
|
The command itself is split into `yarn run build:js` and `yarn run build:css` if
|
|
you want to build a subset.
|
|
|
|
## Serve
|
|
|
|
You can have all this files served on localhost, along with live-reload, with
|
|
the `yarn run serve` command.
|
|
|
|
## Test
|
|
|
|
You can run all tests with `yarn run test`, and `yarn run test:watch` will run
|
|
them with auto-reload.
|
|
|
|
## Docs
|
|
|
|
- `yarn docs:build` will build the docs website in `./docs/dist`.
|
|
- `yarn docs:serve` will do the same, but with live-reload enabled
|
|
- `yarn docs:deploy` will deploy the doc website manually
|
|
|
|
Refer to `./docs/README.md` for more information
|
|
|
|
## Release
|
|
|
|
`npm run release` will guide you through the release process. Note that you have
|
|
to use `npm` and not `yarn` for this one otherwise it won't deploy to npm.
|
|
|
|
[1]: #where-to-start
|
|
[2]: #development-workflow
|
|
[3]: #requirements
|
|
[4]: #launch
|
|
[5]: #local-build
|
|
[6]: #commit-message-guidelines
|
|
[7]: #revert
|
|
[8]: #type
|
|
[9]: #scope
|
|
[10]: #subject
|
|
[11]: #body
|
|
[12]: #footer
|
|
[13]: #releasing
|
|
[14]: https://github.com/algolia/docsearch/issues
|
|
[15]: https://github.com/creationix/nvm#install-script
|