diff --git a/docusaurus.config.js b/docusaurus.config.js index d292267..e46db95 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -42,6 +42,9 @@ const config = { docs: { sidebarPath: require.resolve('./sidebars.js'), routeBasePath: '/', + editCurrentVersion: true, + showLastUpdateAuthor: true, + showLastUpdateTime: true, editUrl: 'https://github.com/redstarmc/Wiki/blob/main' }, @@ -66,6 +69,11 @@ const config = { }, hideOnScroll: false, items: [ + // 搜索框 + { + type: 'search', + position: 'right', + }, { type: 'doc', docId: 'intro', @@ -93,11 +101,6 @@ const config = { label: '日志', docsPluginId: 'logs' }, - // 搜索框 - { - type: 'search', - position: 'right', - }, { href: 'https://github.com/redstarmc/Wiki', label: 'GitHub',