Skip to content

Commit

Permalink
Search config change (MystenLabs#14615)
Browse files Browse the repository at this point in the history
## Description 

Describe the changes or additions included in this PR.

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
  • Loading branch information
ronny-mysten authored Nov 1, 2023
1 parent 2aa3aef commit 2e2ee18
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions docs/site/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,6 @@ const config = {
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
announcementBar: {
id: "search_notice",
content:
"Welcome to the new implementation of the Sui documentation site. Please expect site search to be unreliable during initial indexing (~48 hours).",
backgroundColor: "#4ca2ff",
textColor: "#111111",
isCloseable: true,
},
algolia: {
// The application ID provided by Algolia
appId: "ZF283DJAYX",
Expand All @@ -123,7 +115,7 @@ const config = {
indexName: "sui",

// Optional: see doc section below
contextualSearch: true,
contextualSearch: false,

// 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",
Expand All @@ -135,7 +127,7 @@ const config = {
//},

// Optional: Algolia search parameters
searchParameters: {},
//searchParameters: {},

// Optional: path for search page that enabled by default (`false` to disable it)
searchPagePath: "search",
Expand Down

0 comments on commit 2e2ee18

Please sign in to comment.