1
0
Fork 0
📘 The easiest way to add search to your documentation.
Find a file
2020-09-03 12:12:05 +02:00
.circleci chore: update type checking script 2020-09-01 17:33:57 +02:00
.github docs(readme): add image previews 2020-09-02 09:57:55 +02:00
cypress chore: more files to root 2020-09-01 11:54:48 +02:00
examples/js docs(examples): add JavaScript example 2020-09-01 18:31:35 +02:00
packages style(DocSearchModal): vertically center command keys (#75) 2020-09-02 08:54:00 +02:00
scripts chore: more files to root 2020-09-01 11:54:48 +02:00
.editorconfig chore: more files to root 2020-09-01 11:54:48 +02:00
.env.sample chore: more files to root 2020-09-01 11:54:48 +02:00
.eslintignore chore: update tooling 2020-09-01 14:24:58 +02:00
.eslintrc.js chore: update tooling 2020-09-01 14:24:58 +02:00
.gitignore chore: more files to root 2020-09-01 11:54:48 +02:00
.nvmrc chore: more files to root 2020-09-01 11:54:48 +02:00
.percy.json chore: more files to root 2020-09-01 11:54:48 +02:00
.prettierignore chore: update tooling 2020-09-01 14:24:58 +02:00
.prettierrc chore: more files to root 2020-09-01 11:54:48 +02:00
.stylelintrc.json chore: more files to root 2020-09-01 11:54:48 +02:00
babel.config.js chore: remove autocomplete references 2020-09-01 12:01:48 +02:00
bundlesize.config.json chore: update tooling 2020-09-01 14:24:58 +02:00
CHANGELOG.md docs(changelog): copy DocSearch v1 and v2 changelog 2020-09-01 15:33:02 +02:00
CONTRIBUTING.md docs(contributing): update issue link 2020-09-03 12:12:05 +02:00
cypress.json chore: more files to root 2020-09-01 11:54:48 +02:00
global.d.ts chore: more files to root 2020-09-01 11:54:48 +02:00
jest.config.js chore: update tooling 2020-09-01 14:24:58 +02:00
lerna.json chore: more files to root 2020-09-01 11:54:48 +02:00
LICENSE chore: more files to root 2020-09-01 11:54:48 +02:00
package.json chore: update type checking script 2020-09-01 17:33:57 +02:00
README.md docs(readme): add image previews 2020-09-02 09:57:55 +02:00
renovate.json chore: more files to root 2020-09-01 11:54:48 +02:00
rollup.base.config.js chore: update tooling 2020-09-01 14:24:58 +02:00
ship.config.js chore: remove autocomplete references 2020-09-01 12:01:48 +02:00
tsconfig.declaration.json chore: more files to root 2020-09-01 11:54:48 +02:00
tsconfig.json chore: update tooling 2020-09-01 14:24:58 +02:00
yarn.lock docs(examples): add JavaScript example 2020-09-01 18:31:35 +02:00

DocSearch

The easiest way to add search to your documentation for free.

npm version License


DocSearch crawls your documentation, pushes the content to an Algolia index and provides a dropdown search experience on your website.

Check out our website for a complete explanation and documentation.

Preview

Screencast

Light Dark
Light preview Dark preview

Usage

Don't have your Algolia credentials yet? Apply to DocSearch!

1. Import the library as an ECMAScript module:

npm install @docsearch/js@alpha
# or
yarn add @docsearch/js@alpha
import docsearch from '@docsearch/js';

1bis. Or with a script tag (at the end of the body):

<script src="https://cdn.jsdelivr.net/@docsearch/js@alpha"></script>

2. Use the library:

docsearch({
  container: '#docsearch',
  indexName: 'YOUR_INDEX_NAME',
  apiKey: 'YOUR_API_KEY',
});

3. Customize the color scheme.

DocSearch is made of the following repositories:

License

MIT