diff --git a/docs/node-wot/node-wot-API.md b/docs/node-wot/node-wot-API.md index facd40e..e4b81de 100644 --- a/docs/node-wot/node-wot-API.md +++ b/docs/node-wot/node-wot-API.md @@ -1,5 +1,6 @@ --- sidebar_position: 1 +slug: /node-wot/node-wot-api --- # node-wot API diff --git a/docusaurus.config.js b/docusaurus.config.js index e919f03..1167cd1 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -171,6 +171,7 @@ const config = { { type: 'search', position: 'right', + className: 'header-search', } ], }, @@ -330,6 +331,27 @@ const config = { theme: prismThemes.github, darkTheme: prismThemes.vsDark, }, + algolia: { + // The application ID provided by Algolia + appId: '1NS3BU5ITA', + + // Public API key: it is safe to commit it + apiKey: 'fb9d7453a75b892d307c3a1d0f941b98', + + indexName: 'thingweb', + + // Optional: see doc section below + contextualSearch: true, + + // Optional: Algolia search parameters + // searchParameters: {}, + + // Optional: path for search page that enabled by default (`false` to disable it) + searchPagePath: 'search', + + // Optional: whether the insights feature is enabled or not on Docsearch (`false` by default) + insights: false, + }, }), }; diff --git a/src/css/custom.scss b/src/css/custom.scss index 011c01f..c347d20 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -186,6 +186,11 @@ a.navbar__item { font-weight: var(--fw-regular); } +div.header-search { + order: 3; + padding-right: 0; +} + .navbar-sidebar__back { font-weight: var(--fw-regular); }