@@ -131,35 +131,12 @@ module.exports = {
131131 baseUrl : '/suite/' ,
132132 onBrokenLinks : 'warn' ,
133133 onBrokenMarkdownLinks : 'warn' ,
134+ onBrokenAnchors : 'warn' ,
134135 favicon : 'img/favicon.ico' ,
135136 organizationName : 'DHTMLX' , // Usually your GitHub org/user name
136137 projectName : 'docs-suite' , // Usually your repo name
137138 trailingSlash : true ,
138139 themeConfig : {
139- /*colorMode: {
140- // "light" | "dark"
141- defaultMode: 'light',
142-
143- // Hides the switch in the navbar
144- // Useful if you want to support a single color mode
145- disableSwitch: false,
146-
147- // Should we use the prefers-color-scheme media-query,
148- // using user system preferences, instead of the hardcoded defaultMode
149- respectPrefersColorScheme: true,
150-
151- // Dark/light switch icon options
152- switchConfig: {
153- darkIcon: '🌙',
154- darkIconStyle: {
155- marginLeft: '0px',
156- },
157- lightIcon: '☀️',
158- lightIconStyle: {
159- marginLeft: '0px',
160- },
161- },
162- },*/
163140 algolia : {
164141 // This is a read-only, search-only key served directly by the front-end, managed by Algolia via their
165142 // free DocSearch program. The key is not sensitive. See https://docsearch.algolia.com/ for more details.
@@ -184,13 +161,12 @@ module.exports = {
184161 logo : {
185162 alt : 'DHTMLX Suite Documentation' ,
186163 src : 'img/dhtmlx_logo.svg' ,
187- href : 'https://docs.dhtmlx.com/' ,
188-
164+ href : 'https://docs.dhtmlx.com/'
189165 } ,
190166 items : [ {
191167 label : 'Examples' ,
192168 href : 'https://snippet.dhtmlx.com' ,
193- position : 'right' ,
169+ position : 'right'
194170 } ,
195171 {
196172 label : 'Forum' ,
@@ -200,84 +176,84 @@ module.exports = {
200176 {
201177 label : 'Support' ,
202178 href : 'https://dhtmlx.com/docs/technical-support.shtml' ,
203- position : 'right' ,
179+ position : 'right'
204180 } ,
205181 {
206182 label : 'Download' ,
207183 href : 'https://dhtmlx.com/docs/products/dhtmlxSuite/download.shtml' ,
208- position : 'right' ,
209- } ,
210- ] ,
184+ position : 'right'
185+ }
186+ ]
211187 } ,
212188 footer : {
213189 style : 'dark' ,
214- links : [ {
190+ links : [
191+ {
215192 title : 'Development center' ,
216193 items : [ {
217194 label : 'Download Suite' ,
218195 href : 'https://dhtmlx.com/docs/products/dhtmlxSuite/download.shtml' ,
219- position : 'right' ,
196+ position : 'right'
220197 } ,
221198 {
222199 label : 'Examples' ,
223200 href : 'https://snippet.dhtmlx.com' ,
224- position : 'right' ,
201+ position : 'right'
225202 } ,
226203 {
227204 label : 'Blog' ,
228- href : 'https://dhtmlx.com/blog/' ,
205+ href : 'https://dhtmlx.com/blog/'
229206 } ,
230207 {
231208 label : 'Forum' ,
232209 href : 'https://forum.dhtmlx.com/c/suite/suite7/' ,
233210 position : 'right'
234- } ,
235- ] ,
211+ }
212+ ]
236213 } ,
237214 {
238215 title : 'Community' ,
239216 items : [ {
240217 label : 'GitHub' ,
241- href : 'https://github.com/DHTMLX' ,
218+ href : 'https://github.com/DHTMLX'
242219 } ,
243-
244220 {
245221 label : 'Youtube' ,
246- href : 'https://www.youtube.com/user/dhtmlx' ,
222+ href : 'https://www.youtube.com/user/dhtmlx'
247223 } ,
248224 {
249225 label : 'Facebook' ,
250- href : 'https://www.facebook.com/dhtmlx' ,
226+ href : 'https://www.facebook.com/dhtmlx'
251227 } ,
252228 {
253229 label : 'Twitter' ,
254- href : 'https://twitter.com/dhtmlx' ,
230+ href : 'https://twitter.com/dhtmlx'
255231 } ,
256232 {
257233 label : 'Linkedin' ,
258- href : 'https://www.linkedin.com/groups/3345009/' ,
259- } ,
260-
261- ] ,
234+ href : 'https://www.linkedin.com/groups/3345009/'
235+ }
236+ ]
262237 } ,
263238 {
264239 title : 'Company' ,
265- items : [ {
240+ items : [
241+ {
266242 label : 'About us' ,
267- href : 'https://dhtmlx.com/docs/company.shtml' ,
243+ href : 'https://dhtmlx.com/docs/company.shtml'
268244 } ,
269245 {
270246 label : 'Contact us' ,
271- href : 'https://dhtmlx.com/docs/contact.shtml' ,
247+ href : 'https://dhtmlx.com/docs/contact.shtml'
272248 } ,
273249 {
274250 label : 'Licensing' ,
275- href : 'https://dhtmlx.com/docs/products/dhtmlxSuite/#licensing' ,
276- } ,
277- ] ,
278- } ,
279- ] ,
280- } ,
251+ href : 'https://dhtmlx.com/docs/products/dhtmlxSuite/#licensing'
252+ }
253+ ]
254+ }
255+ ]
256+ }
281257 } ,
282258 presets : [
283259 [
@@ -287,23 +263,17 @@ module.exports = {
287263 sidebarPath : require . resolve ( './sidebars.js' ) ,
288264 // Please change this to your repo.
289265 editUrl : 'https://github.com/DHTMLX/docs-suite/edit/master/' ,
290- routeBasePath : '/' ,
266+ routeBasePath : '/'
291267 } ,
292- // blog: {
293- // showReadingTime: true,
294- // // Please change this to your repo.
295- // editUrl: 'https://github.com/facebook/docusaurus/edit/master/website/blog/',
296- // },
297268 theme : {
298- customCss : require . resolve ( './src/css/custom.css' ) ,
269+ customCss : require . resolve ( './src/css/custom.css' )
299270 } ,
300271 sitemap : {
301272 changefreq : 'daily' ,
302- priority : 0.5 ,
303-
304- } ,
305- } ,
306- ] ,
273+ priority : 0.5
274+ }
275+ }
276+ ]
307277 ] ,
308278 plugins : [
309279 'docusaurus-plugin-sass' ,
@@ -320,7 +290,7 @@ module.exports = {
320290 [
321291 require . resolve ( 'docusaurus-gtm-plugin' ) ,
322292 {
323- id : 'GTM-5M5RCSJ' ,
293+ id : 'GTM-5M5RCSJ'
324294 }
325295 ]
326296 ]
0 commit comments