Merge pull request #992 from quantified-uncertainty/algolia
docs site: algolia search
This commit is contained in:
commit
c3bb0ba291
|
@ -52,6 +52,29 @@ const config = {
|
||||||
themeConfig:
|
themeConfig:
|
||||||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
||||||
({
|
({
|
||||||
|
algolia: {
|
||||||
|
// The application ID provided by Algolia
|
||||||
|
appId: "NEUN2KAR5K",
|
||||||
|
|
||||||
|
// Public API key: it is safe to commit it
|
||||||
|
apiKey: "1f5c74a2d72799add24eb7682531a1b0",
|
||||||
|
|
||||||
|
indexName: "squiggle_docs",
|
||||||
|
|
||||||
|
// 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: Algolia search parameters
|
||||||
|
searchParameters: {},
|
||||||
|
|
||||||
|
// Optional: path for search page that enabled by default (`false` to disable it)
|
||||||
|
searchPagePath: "search",
|
||||||
|
|
||||||
|
//... other Algolia params
|
||||||
|
},
|
||||||
navbar: {
|
navbar: {
|
||||||
title: "Squiggle",
|
title: "Squiggle",
|
||||||
hideOnScroll: true,
|
hideOnScroll: true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user