@@ -19,14 +19,16 @@ const config = {
19
19
projectName : 'go-feature-flag' ,
20
20
trailingSlash : false ,
21
21
22
- customFields :{
23
- logo : "img/logo/logo.png" ,
24
- github : "https://github.com/thomaspoignant/go-feature-flag" ,
25
- sponsor : "https://github.com/sponsors/thomaspoignant" ,
26
- openfeature : "https://openfeature.dev" ,
27
- mailchimpURL : "//gofeatureflag.us14.list-manage.com/subscribe/post?u=86acc1a78e371bf66a9683672&id=f42abfec51&" ,
28
- swaggerURL : "https://github.com/thomaspoignant/go-feature-flag/blob/main/cmd/relayproxy/docs/swagger.yaml"
29
- } ,
22
+ customFields : {
23
+ logo : 'img/logo/logo.png' ,
24
+ github : 'https://github.com/thomaspoignant/go-feature-flag' ,
25
+ sponsor : 'https://github.com/sponsors/thomaspoignant' ,
26
+ openfeature : 'https://openfeature.dev' ,
27
+ mailchimpURL :
28
+ '//gofeatureflag.us14.list-manage.com/subscribe/post?u=86acc1a78e371bf66a9683672&id=f42abfec51&' ,
29
+ swaggerURL :
30
+ 'https://github.com/thomaspoignant/go-feature-flag/blob/main/cmd/relayproxy/docs/swagger.yaml' ,
31
+ } ,
30
32
// Even if you don't use internalization, you can use this field to set useful
31
33
// metadata like html lang. For example, if your site is Chinese, you may want
32
34
// to replace "en" with "zh-Hans".
@@ -66,11 +68,11 @@ const config = {
66
68
] ,
67
69
stylesheets : [
68
70
'css/pushy-buttons.css' , //https://github.com/iRaul/pushy-buttons
69
- 'css/simplegrid.css' ,
71
+ 'css/simplegrid.css' , //https://thisisdallas.github.io/Simple-Grid/
70
72
'https://fonts.googleapis.com/css?family=Poppins:400,500,700' ,
71
73
'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css' ,
72
74
'https://cdn.jsdelivr.net/gh/devicons/[email protected] /devicon.min.css' , // https://devicon.dev/
73
- ] ,
75
+ ] ,
74
76
themeConfig :
75
77
/** @type {import('@docusaurus/preset-classic').ThemeConfig } */
76
78
( {
@@ -92,38 +94,42 @@ const config = {
92
94
label : 'Docs' ,
93
95
} ,
94
96
{ to : '/blog' , label : 'Blog' , position : 'left' } ,
95
- { to : 'https:// editor.gofeatureflag.org ' , html : 'Flag Editor <i class="fas fa-external-link-alt"></i> ' , position : 'left' } ,
97
+ { to : '/ editor' , html : 'Flag Editor' , position : 'left' } ,
96
98
// {
97
99
// type: 'doc',
98
100
// docId:'migrate_v0_v1',
99
101
// label: 'v1.x.x migration',
100
102
// position: 'left'
101
103
// },
102
- { to : 'https://github.com/sponsors/thomaspoignant' , label : 'Sponsor us ❤️' , position : 'right' } ,
104
+ {
105
+ to : 'https://github.com/sponsors/thomaspoignant' ,
106
+ label : 'Sponsor us ❤️' ,
107
+ position : 'right' ,
108
+ } ,
103
109
{ type : 'docsVersionDropdown' , position : 'right' } ,
104
110
{
105
111
href : 'https://github.com/thomaspoignant/go-feature-flag' ,
106
112
position : 'right' ,
107
- className : " header-github-link navbar__right" ,
108
- " aria-label" : " GitHub repository" ,
113
+ className : ' header-github-link navbar__right' ,
114
+ ' aria-label' : ' GitHub repository' ,
109
115
} ,
110
116
{
111
117
href : 'https://twitter.com/gofeatureflag' ,
112
118
position : 'right' ,
113
- className : " header-twitter-link navbar__right" ,
114
- " aria-label" : " Twitter" ,
119
+ className : ' header-twitter-link navbar__right' ,
120
+ ' aria-label' : ' Twitter' ,
115
121
} ,
116
122
{
117
123
href : 'https://gophers.slack.com/messages/go-feature-flag' ,
118
124
position : 'right' ,
119
- className : " header-slack-link navbar__right" ,
120
- " aria-label" : " Slack" ,
125
+ className : ' header-slack-link navbar__right' ,
126
+ ' aria-label' : ' Slack' ,
121
127
} ,
122
128
{
123
129
124
130
position : 'right' ,
125
- className : " header-email-link navbar__right" ,
126
- " aria-label" : " Email" ,
131
+ className : ' header-email-link navbar__right' ,
132
+ ' aria-label' : ' Email' ,
127
133
} ,
128
134
] ,
129
135
} ,
@@ -175,17 +181,13 @@ const config = {
175
181
} ,
176
182
] ,
177
183
} ,
178
-
179
184
] ,
180
185
copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } GO Feature Flag.` ,
181
186
} ,
182
187
prism : {
183
188
theme : lightCodeTheme ,
184
189
darkTheme : darkCodeTheme ,
185
- additionalLanguages : [
186
- 'toml' ,
187
- 'php' ,
188
- ]
190
+ additionalLanguages : [ 'toml' , 'php' ] ,
189
191
} ,
190
192
} ) ,
191
193
} ;
0 commit comments