Skip to content

Commit

Permalink
docu-notion version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
kmlbgn committed Feb 28, 2024
1 parent d5c4cb2 commit 07c6ee9
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 24 deletions.
42 changes: 23 additions & 19 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,24 +83,24 @@ const config = {
crossorigin: 'anonymous',
},
],
i18n: {
defaultLocale: "en",
locales: ["en"],
localeConfigs: {
en: {
label: "English",
direction: "ltr",
htmlLang: "en-US",
calendar: "gregory",
},
},
},
// Langage options
// i18n: {
// defaultLocale: "en",
// locales: ["en"],
// localeConfigs: {
// en: {
// label: "English",
// direction: "ltr",
// htmlLang: "en-US",
// calendar: "gregory",
// },
// },
// },
themes: [
// ... Your other themes.
[
require.resolve("@easyops-cn/docusaurus-search-local"),
{
// ... Your options.
// `hashed` is recommended as long-term-cache of index file is possible.
hashed: true,
// language: ["en", "fr"],
Expand Down Expand Up @@ -133,30 +133,34 @@ const config = {
},

items: [
{
type: "localeDropdown",
position: "right",
},
// Langage selection dropdown menu
// {
// type: "localeDropdown",
// position: "right",
// },
{
label: 'Docs',
to: '/docs/',
position: 'left',
// activeBaseRegex: '^/docs/',
activeBaseRegex: '^/docs.kira.network/docs/',
},
{
label: 'Learn',
to: '/',
position: 'left',
activeBaseRegex: '^/docs.kira.network/',
},
{
label: 'Testnet',
to: '/testnet/',
position: 'left',
activeBaseRegex: '^/docs.kira.network/testnet/',
},
{
label: 'Links',
to: '/links/',
position: 'right',
position: 'right',
activeBaseRegex: '^/docs.kira.network/links/',
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"serve": "docusaurus serve"
},
"dependencies": {
"docu-notion-kira": "1.3.2",
"docu-notion-kira": "1.3.3",
"@docusaurus/core": "3.0.1",
"@docusaurus/preset-classic": "3.0.1",
"@easyops-cn/docusaurus-search-local": "0.40.1",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3858,10 +3858,10 @@ dns-packet@^5.2.2:
dependencies:
"@leichtgewicht/ip-codec" "^2.0.1"

[email protected].1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/docu-notion-kira/-/docu-notion-kira-1.3.1.tgz#f6abf642bb79f6ca482bf380fb6965dfefb23e45"
integrity sha512-RoCJ0DZRKfunrCfHF/k3/XnE3dsxypzXmgf5DRupsYsEhTwSfPtDrDNcagjfVfYPn0H2FrnCU/hoAiMPZEZUiw==
[email protected].2:
version "1.3.2"
resolved "https://registry.yarnpkg.com/docu-notion-kira/-/docu-notion-kira-1.3.2.tgz#87fc76e8c7499e82be4145335af95c0d8da706cf"
integrity sha512-kbmYuVCGsLMp9daY+5UUPzsXl1WRJBvhwByBvTc6kI6UkndyY9RBkYndJYJvdQrmJNgcs02W3f8UYFtismj/7A==
dependencies:
"@notionhq/client" "2.2.3"
chalk "^4.1.2"
Expand Down

0 comments on commit 07c6ee9

Please sign in to comment.