Skip to content

Commit

Permalink
website: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Jan 2, 2025
1 parent 68fb25a commit 508e1f0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
15 changes: 9 additions & 6 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,11 @@ const config: Config = {
href: `https://github.com/xpack-dev-tools/xpack-build-box/`,
},
{
label: 'xpack',
label: 'xpack org',
href: 'https://github.com/xpack/',
},
{
label: 'xpack-dev-tools',
label: 'xpack-dev-tools org',
href: 'https://github.com/xpack-dev-tools/',
},
]
Expand Down Expand Up @@ -373,11 +373,11 @@ const config: Config = {
href: 'https://github.com/xpack-dev-tools/xpack-build-box/',
},
{
label: 'GitHub xpack',
label: 'GitHub xpack org',
href: 'https://github.com/xpack/',
},
{
label: 'GitHub xpack-dev-tools',
label: 'GitHub xpack-dev-tools org',
href: 'https://github.com/xpack-dev-tools/',
},
],
Expand All @@ -389,6 +389,7 @@ const config: Config = {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
// https://docusaurus.io/docs/search#using-algolia-docsearch
algolia: {
// https://docsearch.algolia.com/docs/docsearch-v3/
appId: "KIDD7R4CL1",
Expand All @@ -397,7 +398,7 @@ const config: Config = {

// It ensures that search results are relevant to the current
// language and version. Enabled by default.
contextualSearch: false, // true,
contextualSearch: true,
// Optional: Replace parts of the item URLs from Algolia.
// Useful when using the same search index for multiple deployments
// using a different baseUrl. You can use regexp or string in the
Expand All @@ -406,7 +407,9 @@ const config: Config = {
// Optional: Algolia search parameters
searchParameters: {},
// Optional: path for search page that enabled by default (`false` to disable it)
searchPagePath: false, // 'search',
searchPagePath: 'search',
// Optional: whether the insights feature is enabled or not on Docsearch (`false` by default)
insights: false,
},
} satisfies Preset.ThemeConfig,

Expand Down
10 changes: 8 additions & 2 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 508e1f0

Please sign in to comment.