Skip to content

Commit f81d6d0

Browse files
committed
chore: revise docusaurus.config.js
1 parent 407582b commit f81d6d0

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

docusaurus.config.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ const darkCodeTheme = require('prism-react-renderer').themes.dracula;
77
const math = require('remark-math');
88
const katex = require('rehype-katex');
99

10-
/** @type {import('@docusaurus/types').Config} */
11-
const config = {
10+
module.exports = {
1211
title: 'LeetCode The Hard Way',
1312
tagline: 'From Absolute Beginner to Quitter',
1413
url: 'http://leetcodethehardway.com/',
@@ -32,9 +31,8 @@ const config = {
3231

3332
presets: [
3433
[
35-
'classic',
36-
/** @type {import('@docusaurus/preset-classic').Options} */
37-
({
34+
'@docusaurus/preset-classic',
35+
{
3836
docs: {
3937
sidebarPath: require.resolve('./sidebars.js'),
4038
routeBasePath: '/',
@@ -61,7 +59,7 @@ const config = {
6159
googleAnalytics: {
6260
trackingID: 'UA-119822493-4',
6361
},
64-
}),
62+
},
6563
],
6664
],
6765

@@ -274,5 +272,3 @@ const config = {
274272
],
275273
],
276274
};
277-
278-
module.exports = config;

0 commit comments

Comments
 (0)