Skip to content

Commit a3eb48c

Browse files
yangshunfacebook-github-bot
authored andcommitted
Add Algolia search (#1864)
Summary: **Summary** Add Algolia search as per #1775. **Test Plan** <img width="1552" alt="screen shot 2018-09-12 at 10 07 59 am" src="https://user-images.githubusercontent.com/1315101/45397732-fa33e780-b673-11e8-8264-5044e82fbe61.png"> Clicking on the results brings me to the correct location in the docs. It's magic! Pull Request resolved: facebookarchive/draft-js#1864 Reviewed By: niveditc Differential Revision: D9784511 Pulled By: niveditc fbshipit-source-id: 4e1b0b35af85ab349d79a83315f2010bc32c7f7f
1 parent d19e4dd commit a3eb48c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

website/siteConfig.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ const siteConfig = {
4747

4848
// No .html in the path.
4949
cleanUrl: true,
50+
51+
// Algolia search.
52+
algolia: {
53+
apiKey: 'ae94c9e3ee00ea8edddd484adafc37cd',
54+
indexName: 'draft-js',
55+
},
5056
};
5157

5258
module.exports = siteConfig;

0 commit comments

Comments
 (0)