mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-22 13:37:05 +02:00
feat(search-algolia): algolia externalUrl regex to navigate with window.href (#5795)
This commit is contained in:
parent
8c12983a2a
commit
adbc02ea38
9 changed files with 69 additions and 17 deletions
|
@ -86,6 +86,9 @@ module.exports = {
|
|||
// Optional: see doc section below
|
||||
contextualSearch: true,
|
||||
|
||||
// Optional: Specify domains where the navigation should occur through window.location instead on history.push. Useful when our Algolia config crawls multiple documentation sites and we want to navigate with window.location.href to them.
|
||||
externalUrlRegex: 'external\\.com|domain\\.com',
|
||||
|
||||
// Optional: see doc section below
|
||||
appId: 'YOUR_APP_ID',
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue