1- // @ts -check
1+ // @ts -nocheck
22// Note: type annotations allow type checking and IDEs autocompletion
33// const CurrentStyle = require("./src/utils/CurrentStyle");
4+ const { webpackPlugin } = require ( "./plugins/webpack-plugin.cjs" ) ;
45const lightCodeTheme = require ( "prism-react-renderer/themes/github" ) ;
56// const darkCodeTheme = require("prism-react-renderer/themes/dracula");
67// const Embed = require("./plugins/remark/embed");
@@ -23,6 +24,9 @@ const customFields = {
2324 supportUrl : "https://appseed.us/support/" ,
2425 blogUrl : "https://blog.appseed.us" ,
2526 homeUrl : "https://appseed.us" ,
27+ EMAILJS_SERVER_ID : process . env . EMAILJS_SERVER_ID ,
28+ EMAILJS_TEMPLATE_ID : process . env . EMAILJS_TEMPLATE_ID ,
29+ EMAILJS_PUBLIC_KEY : process . env . EMAILJS_PUBLIC_KEY ,
2630} ;
2731
2832/** @type {import('@docusaurus/types').Config } */
@@ -63,6 +67,7 @@ const config = {
6367 } ,
6468 } ;
6569 } ,
70+ webpackPlugin ,
6671 ] ,
6772 presets : [
6873 [
@@ -94,6 +99,7 @@ const config = {
9499 ] ,
95100 ] ,
96101 customFields : { ...customFields } ,
102+
97103 themeConfig :
98104 /** @type {import('@docusaurus/preset-classic').ThemeConfig } */
99105 ( {
@@ -196,11 +202,11 @@ const config = {
196202 {
197203 label : "Dashboards" ,
198204 to : "products/django-dashboards" ,
199- } ,
205+ } ,
200206 {
201207 label : "API Servers" ,
202208 to : "boilerplate-code/api-server" ,
203- } ,
209+ } ,
204210 ] ,
205211 } ,
206212 {
@@ -209,7 +215,7 @@ const config = {
209215 {
210216 label : "Support" ,
211217 href : customFields . supportUrl ,
212- } ,
218+ } ,
213219 {
214220 label : "Discord" ,
215221 href : customFields . discordUrl ,
0 commit comments