mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-29 22:47:52 +02:00
feat(theme-algolia): add option.replaceSearchResultPathname to process/replaceAll search result urls
#8428
This commit is contained in:
parent
e5b0707fab
commit
deb376e4a6
18 changed files with 214 additions and 51 deletions
|
@ -401,6 +401,13 @@ const config = {
|
|||
appId: 'X1Z85QJPUV',
|
||||
apiKey: 'bf7211c161e8205da2f933a02534105a',
|
||||
indexName: 'docusaurus-2',
|
||||
replaceSearchResultPathname:
|
||||
isDev || isDeployPreview
|
||||
? {
|
||||
from: /^\/docs\/next/g,
|
||||
to: '/docs',
|
||||
}
|
||||
: undefined,
|
||||
},
|
||||
navbar: {
|
||||
hideOnScroll: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue