Skip to content

Commit

Permalink
Merge pull request #36 from Consensys/update-deps
Browse files Browse the repository at this point in the history
updates for deps
  • Loading branch information
joshuafernandes authored Jun 26, 2024
2 parents 2a05114 + 22619da commit 8d4b1d2
Show file tree
Hide file tree
Showing 5 changed files with 1,194 additions and 18,952 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v19.4.0
v20.14.0
43 changes: 26 additions & 17 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,29 +80,29 @@ const config = {
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
algolia: {
// The application ID provided by Algolia
appId: "NSRFPEJ4NC",
// algolia: {
// // The application ID provided by Algolia
// appId: "NSRFPEJ4NC",

// Public API key: it is safe to commit it
apiKey: "cea41b975ad6c9a01408dfda6e0061d3",
// // Public API key: it is safe to commit it
// apiKey: "cea41b975ad6c9a01408dfda6e0061d3",

indexName: "docs-template", // Ping #documentation on Slack for your index name
// indexName: "docs-template", // Ping #documentation on Slack for your index name

// Optional: see doc section below
contextualSearch: true,
// // 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: 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: Algolia search parameters
// searchParameters: {},

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

// ... other Algolia params
},
// // ... other Algolia params
// },
colorMode: {
defaultMode: "light",
disableSwitch: false,
Expand Down Expand Up @@ -276,7 +276,16 @@ const config = {
// },
// ],
],
themes: [],
themes: [
[
require.resolve("@easyops-cn/docusaurus-search-local"),
{
docsRouteBasePath: "/",
hashed: true,
indexBlog: false,
},
],
],
};

module.exports = config;
Loading

0 comments on commit 8d4b1d2

Please sign in to comment.