Skip to content

Commit 4686dad

Browse files
authored
Update docusaurus.config.js
1 parent 6b294a8 commit 4686dad

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

docusaurus.config.js

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,7 @@ module.exports = async function createConfigAsync() {
1515
organizationName: "javascript-mastery",
1616
projectName: "JavaScript Mastery",
1717

18-
plugins: [
19-
[
20-
"@docusaurus/plugin-content-docs",
21-
/** @type {import('@docusaurus/plugin-content-docs').Options} */
22-
{
23-
id: "university",
24-
path: "university",
25-
routeBasePath: "university",
26-
editUrl:
27-
"#",
28-
sidebarPath: require.resolve("./sidebars.js"),
29-
remarkPlugins: [(await import("remark-math")).default],
30-
rehypePlugins: [(await import("rehype-katex")).default],
31-
showLastUpdateAuthor: true,
32-
showLastUpdateTime: true,
33-
},
34-
],
35-
18+
plugins: [
3619
async function plugin(context, options) {
3720
return {
3821
name: "docusaurus-plugin-module-alias",
@@ -90,7 +73,7 @@ module.exports = async function createConfigAsync() {
9073
algolia: {
9174
appId: "NIXA4HHO8S",
9275
apiKey: "0e434f5d05dd96ad91008f11f2903066",
93-
indexName: "xiaohai-mind-palace-index",
76+
indexName: "our-index",
9477
},
9578
navbar: {
9679
title: "JavaScript Mastery",

0 commit comments

Comments
 (0)