feat(v2): Algolia search theme (#1440)

* feat(v2): Algolia search plugin

* patch PR #1440 (#1441)

* alternative implementation

* typo

* refactor noop

* rename SearchAlgolia -> SearchBar

* changes.md
This commit is contained in:
Yangshun Tay 2019-05-08 01:21:11 -07:00 committed by Endi
parent 8aef4ec791
commit 384fd5708f
14 changed files with 116 additions and 44 deletions

View file

@ -9,7 +9,7 @@ const path = require('path');
const DEFAULT_OPTIONS = {};
class DocusaurusThemeDefault {
class DocusaurusThemeClassic {
constructor(context, opts) {
this.options = {...DEFAULT_OPTIONS, ...opts};
this.context = context;
@ -24,4 +24,4 @@ class DocusaurusThemeDefault {
}
}
module.exports = DocusaurusThemeDefault;
module.exports = DocusaurusThemeClassic;