mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
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:
parent
8aef4ec791
commit
384fd5708f
14 changed files with 116 additions and 44 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue