@@ -24,10 +24,6 @@ const config: Config = {
2424 onBrokenLinks : 'warn' ,
2525 onBrokenMarkdownLinks : 'warn' ,
2626
27- plugins : [ [ require . resolve ( 'docusaurus-lunr-search' ) , {
28- languages : [ 'en' ] // language codes
29- } ] ] ,
30-
3127 // Even if you don't use internationalization, you can use this field to set
3228 // useful metadata like html lang. For example, if your site is Chinese, you
3329 // may want to replace "en" with "zh-Hans".
@@ -83,73 +79,7 @@ const config: Config = {
8379 ] ,
8480
8581 themeConfig : {
86- colorMode : {
87- defaultMode : 'dark' ,
88- respectPrefersColorScheme : true ,
89- } ,
9082 image : 'img/social-embed.png' ,
91- navbar : {
92- title : 'Graphics Programming' ,
93- logo : {
94- alt : 'Graphics Programming' ,
95- src : 'img/gp-discord-logo.webp' ,
96- } ,
97- items : [
98- {
99- to : '/blog' ,
100- label : 'Blog' ,
101- position : 'left'
102- } ,
103- {
104- type : 'docSidebar' ,
105- sidebarId : 'discordServer' ,
106- position : 'left' ,
107- label : 'Discord Server' ,
108- } ,
109- {
110- type : 'docSidebar' ,
111- sidebarId : 'communityProjects' ,
112- position : 'left' ,
113- label : 'Community Projects'
114- }
115- ] ,
116- } ,
117- footer : {
118- style : 'dark' ,
119- links : [
120- {
121- title : 'Community' ,
122- items : [
123- {
124- label : 'Discord' ,
125- href : 'https://discord.com/invite/graphicsprogramming' ,
126- } ,
127- {
128- label : 'YouTube' ,
129- href : 'https://www.youtube.com/@graphicsprogramming9074' ,
130- } ,
131- {
132- label : 'Twitter' ,
133- href : 'https://x.com/i/communities/1500963350825472000'
134- }
135- ] ,
136- } ,
137- {
138- title : 'More' ,
139- items : [
140- {
141- label : 'Blog' ,
142- to : 'https://graphics-programming.org/' ,
143- } ,
144- {
145- label : 'GitHub' ,
146- href : 'https://github.com/GraphicsProgramming' ,
147- } ,
148- ] ,
149- } ,
150- ] ,
151- copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } Graphics Programming Discord. Built with Docusaurus.` ,
152- } ,
15383 prism : {
15484 theme : prismThemes . duotoneLight ,
15585 darkTheme : prismThemes . duotoneDark ,
0 commit comments