Skip to content

Commit b4f74f2

Browse files
authored
Merge branch 'recodehive:main' into fix/sync-metadata-pr
2 parents 4a3f13d + 2dd2ddf commit b4f74f2

File tree

5 files changed

+1235
-754
lines changed

5 files changed

+1235
-754
lines changed

docusaurus.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { themes as prismThemes } from "prism-react-renderer";
22
import type { Config } from "@docusaurus/types";
33
import type * as Preset from "@docusaurus/preset-classic";
44
import * as dotenv from "dotenv";
5+
import giscusInjector from "./src/plugins/giscus-injector";
56
dotenv.config();
67

78
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
@@ -53,6 +54,7 @@ const config: Config = {
5354
sidebarPath: require.resolve("./sidebars.ts"),
5455
editUrl: ({ docPath }) =>
5556
`https://github.com/recodehive/recode-website/tree/main/docs/${docPath}`,
57+
remarkPlugins: [giscusInjector],
5658
},
5759
blog: {
5860
showReadingTime: true,

0 commit comments

Comments
 (0)