Skip to content

Commit

Permalink
Merge pull request #12 from thatrobotdev/upgrade-to-docusarus-v3
Browse files Browse the repository at this point in the history
Upgrade docusarus to v3
  • Loading branch information
thatrobotdev authored Nov 17, 2023
2 parents ac80a8b + 6e2cbce commit 76553aa
Show file tree
Hide file tree
Showing 3 changed files with 4,344 additions and 4,674 deletions.
8 changes: 2 additions & 6 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const lightCodeTheme = require("prism-react-renderer").themes.github;
const darkCodeTheme = require("prism-react-renderer").themes.dracula;

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down Expand Up @@ -58,10 +58,6 @@ const config = {
],
],

// Add MDX v2 support until officially supported: https://github.com/facebook/docusaurus/issues/4029
// Safe to remove after Docusarus v3 release, remember to remove "docusaurus-theme-mdx-v2" package
themes: ["mdx-v2"],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
Expand Down
Loading

0 comments on commit 76553aa

Please sign in to comment.