This commit is contained in:
oneao committed 2026-01-05 21:47:40 +08:00
1 parent d4b25b13ac
commit a1140b3e0a
4 files changed
+52 -11

No files matched your search

+12 -7
View File
@@ -72,7 +72,7 @@ const config: Config = {
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
colorMode: {
respectPrefersColorScheme: true,
respectPrefersColorScheme: false,
},
navbar: {
title: 'oneao',
@@ -93,12 +93,12 @@ const config: Config = {
type: 'localeDropdown',
position: 'right',
},
{
href: 'https://github.com/facebook/docusaurus',
label: 'GitHub',
position: 'right',
},
{
'aria-label': 'GitHub Repository',
'className': 'navbar--github-link',
'href': 'https://github.com/<repo>',
'position': 'right',
},
],
},
prism: {
@@ -110,6 +110,11 @@ const config: Config = {
hideable: true,
autoCollapseCategories: false,
}
},
algolia:{
appId: 'RYGTTZG9CJ',
apiKey: 'b64300feec6e0441a508d8560efc4a03',
indexName: 'docusaurus_docs',
}
} satisfies Preset.ThemeConfig,
};