mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-31 23:40:39 +02:00
fix(v2): allow search page swizzle (#3280)
* feat: search page moved to theme folder * feat: docusaurus-theme-search-algolia/src/pages/search removed * SearchPage added to SwizzleAllowed array * feat: SearchPage route updated in index of it's package directory * Update packages/docusaurus-theme-classic/src/index.js Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
This commit is contained in:
parent
cb39560a89
commit
0cc78fdd41
3 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ function theme(context) {
|
|||
baseUrl,
|
||||
siteConfig: {title, url, favicon},
|
||||
} = context;
|
||||
const pagePath = path.resolve(__dirname, './pages/search/index.js');
|
||||
const pagePath = path.resolve(__dirname, './theme/SearchPage/index.js');
|
||||
|
||||
return {
|
||||
name: 'docusaurus-theme-search-algolia',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue