This repository was archived by the owner on May 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
155 lines (150 loc) · 4.73 KB
/
docusaurus.config.js
File metadata and controls
155 lines (150 loc) · 4.73 KB
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
154
155
module.exports = {
presets: [
[
"@docusaurus/preset-classic",
{
theme: {
customCss: require.resolve("./src/css/custom.css")
},
docs: {
path: "./docs",
sidebarPath: require.resolve("./sidebars.js"),
editUrl:
"https://github.com/grand-stack/grandstack.io/edit/master/website/"
}
}
]
],
themeConfig: {
announcementBar: {
id: "book1", // Any value that will identify this message
content:
'<div style="display: flex; justify-content: center; align-items: center;"><a target="_blank" rel="noopener noreferrer" href="https://grandstack.io/book"><img src="/img/bookcover_small.png" style="max-height: 75px;"></img></a><span>Now available in early release! <a target="_blank" rel="noopener noreferrer" href="https://grandstack.io/book">Fullstack GraphQL Applications with GRANDstack</a> book!</span></div>',
backgroundColor: "#fafbfc", // Defaults to `#fff`
textColor: "#091E42" // Defaults to `#000`
},
gtag: {
trackingID: "UA-43032717-4"
},
// googleAnalytics: {
// trackingID: "UA-43032717-4"
// },
algolia: {
apiKey: "cc5871df6979b737c77b6c2670ac2392",
indexName: "grandstack"
},
navbar: {
title: "GRANDstack",
logo: {
alt: "GRANDstack Logo",
src: "img/GrandStack-Logo-SiteIcon-512x512.png"
},
links: [
{
to: "docs/getting-started-neo4j-graphql",
label: "Docs",
position: "left"
},
{ to: "https://blog.grandstack.io", label: "Blog", position: "left" }
]
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "Getting Started",
to: "docs/getting-started-neo4j-graphql"
},
{
label: "neo4j-graphql.js",
to: "docs/neo4j-graphql-js"
},
{
label: "GraphQL Schema Design Guide",
to: "docs/guide-graphql-schema-design"
},
{
label: "API Reference",
to: "docs/neo4j-graphql-js-api"
},
{
label: "Resources",
to: "/docs/grandstack-resources"
}
]
},
{
title: "More",
items: [
{
label: "GRANDstack Blog",
href: "https://blog.grandstack.io"
},
{
label: "GitHub",
href: "https://github.com/grand-stack"
},
{
label: "#GRANDstack on Twitter",
href:
"https://twitter.com/search?q=%23GRANDstack&src=typed_query&f=live"
},
{
label: "Feedback Survey",
href: "https://grandstack.io/survey"
},
{
label: "Subscribe For Updates",
href: "http://eepurl.com/c8JGuf"
}
]
}
],
logo: {
alt: "GRANDstack Logo",
src: "img/GrandStack-Logo-1Color_White.png",
href: "//grandstack.io"
},
copyright: `Licensed under <a href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License.</a>`
},
image: "img/GrandStack-Logo-Square.png",
sidebarCollapsible: true
},
title: "GRANDstack" /* title for your website */,
tagline: "Build full stack graph applications with ease.",
url: "https://grandstack.io" /* your website url */,
baseUrl: "/" /* base url for your project */,
// For github.io type URLs, you would set the url and baseUrl like:
// url: 'https://facebook.github.io',
// baseUrl: '/test-site/',
// Used for publishing and more
projectName: "grandstack.io",
organizationName: "grand-stack",
// For top-level user or org sites, the organization is still the same.
// e.g., for the https://JoelMarcey.github.io site, it would be set like...
// organizationName: 'JoelMarcey'
// For no header links in the top nav bar -> headerLinks: [],
favicon: "img/GrandStack-Logo-SiteIcon-512x512.png",
/* custom fonts for website */
/*fonts: {
myFont: [
"Times New Roman",
"Serif"
],
myOtherFont: [
"-apple-system",
"system-ui"
]
},*/
// This copyright info is used in /core/Footer.js and blog rss/atom feeds.
// Add custom scripts here that would be placed in <script> tags
scripts: [
"https://buttons.github.io/buttons.js",
"https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js",
"/js/code-blocks-buttons.js"
],
stylesheets: ["/css/code-blocks-buttons.css", "/css/custom.css"]
};