-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
34 lines (31 loc) · 1.29 KB
/
docusaurus.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
// const lightCodeTheme = require('prism-react-renderer/themes/github');
// const darkCodeTheme = require('prism-react-renderer/themes/dracula');
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'DGIOT让万物互联变得更简单',
tagline: 'DGIOT帮助开发者用简单的几行代码可以快速对接子系统实现数据汇聚,也可以零代码实现常见设备接入',
url: 'https://www.dgiotcloud.cn',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/logo.png',
organizationName: 'dgiot', // Usually your GitHub org/user name.
projectName: 'dgiot_doc', // Usually your repo name.
presets: require('./config/presets.js'),
plugins: require('./config/plugins.js'),
i18n: require('./config/i18n.js'),
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
algolia: require('./config/algolia.js'),
navbar: require('./config/navbar.js'),
footer: require('./config/footer.js'),
// prism: {
// theme: lightCodeTheme,
// darkTheme: darkCodeTheme,
// },
}),
};
module.exports = config;