some chagnes

This commit is contained in:
2024-11-28 17:39:18 +01:00
parent 6754d457c6
commit f1c36d2bbd
+18 -17
View File
@@ -27,18 +27,19 @@ const config: Config = {
editUrl: editUrl:
'https://github.com/osui-rs/docs/', 'https://github.com/osui-rs/docs/',
}, },
blog: { blog: false,
showReadingTime: true, // blog: {
feedOptions: { // showReadingTime: true,
type: ['rss', 'atom'], // feedOptions: {
xslt: true, // type: ['rss', 'atom'],
}, // xslt: true,
editUrl: // },
'https://github.com/osui-rs/docs/', // editUrl:
onInlineTags: 'warn', // 'https://github.com/osui-rs/docs/',
onInlineAuthors: 'warn', // onInlineTags: 'warn',
onUntruncatedBlogPosts: 'warn', // onInlineAuthors: 'warn',
}, // onUntruncatedBlogPosts: 'warn',
// },
theme: { theme: {
customCss: './src/css/custom.css', customCss: './src/css/custom.css',
}, },
@@ -60,7 +61,7 @@ const config: Config = {
position: 'left', position: 'left',
label: 'Docs', label: 'Docs',
}, },
{to: '/blog', label: 'Blog', position: 'left'}, // {to: '/blog', label: 'Blog', position: 'left'},
{ {
type: 'docsVersionDropdown', type: 'docsVersionDropdown',
position: 'left', position: 'left',
@@ -105,10 +106,10 @@ const config: Config = {
{ {
title: 'More', title: 'More',
items: [ items: [
{ // {
label: 'Blog', // label: 'Blog',
to: '/blog', // to: '/blog',
}, // },
{ {
label: 'GitHub', label: 'GitHub',
href: 'https://github.com/facebook/docusaurus', href: 'https://github.com/facebook/docusaurus',