Skip to content

Commit 612247b

Browse files
committed
Updated Docusarurus to v3.5.2, updated Search plugin, added i18n dropdown
1 parent 77c12f9 commit 612247b

File tree

4 files changed

+1261
-533
lines changed

4 files changed

+1261
-533
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020

2121
- name: Install dependencies
2222
run: npm ci
23-
- name: Install Search Pluin
24-
run: npm install @cmfcmf/docusaurus-search-local
2523
- name: Build website
2624
run: npm run build
2725

docusaurus.config.js

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const config = {
125125
}),
126126
],
127127
],
128-
plugins: [require.resolve("@cmfcmf/docusaurus-search-local")],
128+
plugins: [require.resolve("docusaurus-lunr-search")],
129129
themeConfig:
130130
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
131131
({
@@ -135,14 +135,6 @@ const config = {
135135
hideable: true,
136136
},
137137
},
138-
// announcementBar: {
139-
// id: "feedback_form",
140-
// content:
141-
// 'We are looking to revamp our docs, please fill <a target="_blank" rel="noopener noreferrer" href="#">this survey</a>',
142-
// backgroundColor: "#fafbfc",
143-
// textColor: "#091E42",
144-
// isCloseable: true,
145-
// },
146138
navbar: {
147139
title: `${title}`,
148140
logo: {
@@ -154,7 +146,10 @@ const config = {
154146
height: "100%",
155147
},
156148
items: [
157-
149+
{
150+
type: "localeDropdown",
151+
position: "right",
152+
},
158153
],
159154
},
160155
footer: {

0 commit comments

Comments
 (0)