-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
153 lines (151 loc) · 4.53 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
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
module.exports = {
title: "air native extensions",
tagline: "Documentation for distriqt's Native Extensions",
url: "https://docs.airnativeextensions.com",
baseUrl: "/",
// trailingSlash: true,
onBrokenLinks: "throw",
favicon: "img/favicon.ico",
organizationName: "airnativeextensions", // Usually your GitHub org/user name.
projectName: "nativeextensions-documentation", // Usually your repo name.
themeConfig: {
// announcementBar: {
// id: 'development', // Any value that will identify this message.
// content:
// 'This is the new airnativeextensions documentation site and is currently under development. <a href="https://github.com/airnativeextensions/nativeextensions-documentation/issues">Please let us know if you find any issues.</a>',
// backgroundColor: '#880000', // Defaults to `#fff`.
// textColor: '#FFF', // Defaults to `#000`.
// isCloseable: false, // Defaults to `true`.
// },
image: "img/ane-icon-black.png",
colorMode: {
disableSwitch: false,
// switchConfig: {
// darkIcon: " ",
// lightIcon: " ",
// },
},
prism: {
theme: require("prism-react-renderer/themes/github"),
darkTheme: require("prism-react-renderer/themes/vsDark"),
additionalLanguages: ["actionscript", "csharp"],
// defaultLanguage: 'actionscript'
},
algolia: {
appId: "WGX2M70X7C",
apiKey: "f971c0416d41b295925d2ce7350e386d",
indexName: "airnativeextensions",
placeholder: "Search...",
contextualSearch: false,
searchParameters: {
facetFilters: ["language:en"],
},
},
navbar: {
title: "AIR Native Extensions",
logo: {
alt: "AIR Native Extensions",
src: "img/ane-icon-black.png",
srcDark: "img/ane-icon-white.png",
},
items: [
{
to: "docs/",
activeBasePath: "docs",
label: "Docs",
position: "left",
},
{
to: "news/",
label: "News",
position: "left",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "tutorials",
to: "/docs/tutorials/",
},
],
},
{
title: "Community",
items: [
{
label: "twitter",
href: "https://twitter.com/distriqt",
},
{
label: "AIR discussions",
href: "https://github.com/Gamua/Adobe-Runtime-Support/discussions",
},
{
label: "starling",
href: "https://forum.starling-framework.org/",
},
{
label: "stack overflow",
href: "https://stackoverflow.com/questions/tagged/distriqt",
},
],
},
{
title: "More",
items: [
{
label: "news",
to: "news",
},
{
label: "privacy",
href: "https://airnativeextensions.com/privacy",
},
{
label: "license",
href: "https://airnativeextensions.com/license",
},
],
},
],
copyright: `<br/><a href="https://airnativeextensions.com">airnativeextensions.com</a> copyright © ${new Date().getFullYear()} <br/><br/><a href="https://distriqt.com"><img src="/img/logo.png" alt="distriqt" /></a>`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
routeBasePath: "/docs",
// editUrl: 'https://github.com/airnativeextensions/nativeextensions-documentation/',
},
blog: {
blogDescription: "distriqt // Native Extension News",
showReadingTime: true,
blogSidebarTitle: "Latest News",
blogSidebarCount: 10,
routeBasePath: "news",
path: "./news",
feedOptions: {
type: "all",
copyright: `Copyright © ${new Date().getFullYear()} distriqt Pty Ltd`,
},
// editUrl: 'https://github.com/airnativeextensions/nativeextensions-documentation/edit/master/website/blog/',
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
googleAnalytics: {
trackingID: "UA-188619114-3",
anonymizeIP: true,
},
},
],
],
};