-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
64 lines (62 loc) · 1.93 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
const config = {
gatsby: {
pathPrefix: '/',
siteUrl: 'https://agorawebsdktutorialmain.gatsbyjs.io',
gaTrackingId: null,
trailingSlash: false,
},
header: {
title:
"<a href='https://agorawebsdktutorialmain.gatsbyjs.io/'>声网 Agora 实时音视频 Web SDK 教程</a>",
helpUrl: '',
tweetText: '',
social: ``,
links: [{ text: '', link: '' }],
search: {
enabled: false,
indexName: '',
algoliaAppId: process.env.GATSBY_ALGOLIA_APP_ID,
algoliaSearchKey: process.env.GATSBY_ALGOLIA_SEARCH_KEY,
algoliaAdminKey: process.env.ALGOLIA_ADMIN_KEY,
},
},
sidebar: {
forcedNavOrder: [
'/introduction', // add trailing slash if enabled above
'/video-capture-render',
'/audio-capture-render',
'/create-connection',
'/send-receive-media',
],
collapsedNav: [
'/introduction', // add trailing slash if enabled above
],
links: [{ text: '声网 Agora 官方网站', link: 'https://agora.io' }, { text: '声网 Agora 文档中心', link: 'https://docs.agora.io' }, { text: 'Web SDK 示例项目', link: 'https://github.com/AgoraIO/API-Examples-Web' }],
frontline: false,
ignoreIndex: true,
title:
"",
},
siteMetadata: {
title: 'RTC Web SDK Training | Agora',
description: 'Documentation built with mdx. Powering docs.agora.io ',
ogImage: null,
docsLocation: 'https://github.com/AgoraDoc/agora-web-sdk-tutorial/tree/master/content',
favicon: 'https://web-cdn.agora.io/doc-center/image/agora-logo.png',
},
pwa: {
enabled: false, // disabling this will also remove the existing service worker.
manifest: {
name: 'Gatsby Gitbook Starter',
short_name: 'GitbookStarter',
start_url: '/',
background_color: '#6b37bf',
theme_color: '#6b37bf',
display: 'standalone',
crossOrigin: 'use-credentials',
icons: [
],
},
},
};
module.exports = config;