Skip to content

Commit 441c151

Browse files
committed
feat: add site search
1 parent f446389 commit 441c151

File tree

5 files changed

+1182
-21
lines changed

5 files changed

+1182
-21
lines changed

docusaurus.config.ts

+13-12
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ import type { Config } from '@docusaurus/types';
33
import type * as Preset from '@docusaurus/preset-classic';
44

55
const config: Config = {
6-
title: '使用 Tango 构建你的低代码生产力工具',
7-
tagline:
8-
'基于源代码 AST 实现可视化搭建操作,支持实时出码,不受私有 DSL 和协议限制',
6+
title: '基于源码的低代码引擎',
7+
tagline: '基于你的已有代码库实现可视化搭建操作,实时出码,无私有搭建协议',
98
favicon: 'img/favicon.ico',
109

1110
// Set the production url of your site here
@@ -26,8 +25,8 @@ const config: Config = {
2625
// useful metadata like html lang. For example, if your site is Chinese, you
2726
// may want to replace "en" with "zh-Hans".
2827
i18n: {
29-
defaultLocale: 'zh-CN',
30-
locales: ['zh-CN'],
28+
defaultLocale: 'zh-Hans',
29+
locales: ['zh-Hans'],
3130
},
3231

3332
presets: [
@@ -55,16 +54,18 @@ const config: Config = {
5554
],
5655
],
5756

57+
plugins: [require.resolve('docusaurus-lunr-search')],
58+
5859
themeConfig: {
5960
// Replace with your project's social card
6061
image: 'img/social-card.png',
61-
announcementBar: {
62-
id: 'notion_alert',
63-
content: '🏗 当前版本为 alpha 版本,相关文档正在编写之中,敬请期待!',
64-
backgroundColor: 'var(--ifm-color-primary-contrast-background)',
65-
textColor: 'var(--ifm-color-primary-contrast-foreground)',
66-
isCloseable: false,
67-
},
62+
// announcementBar: {
63+
// id: 'notion_alert',
64+
// content: '🏗 当前版本为 alpha 版本,相关文档正在编写之中,敬请期待!',
65+
// backgroundColor: 'var(--ifm-color-primary-contrast-background)',
66+
// textColor: 'var(--ifm-color-primary-contrast-foreground)',
67+
// isCloseable: false,
68+
// },
6869
navbar: {
6970
title: '',
7071
logo: {

0 commit comments

Comments
 (0)