Skip to content

Commit

Permalink
Updated docusaurus to current latest (3.1.1). And updated config to s…
Browse files Browse the repository at this point in the history
…et prism render to new way of loading the themes.
  • Loading branch information
XPD-Kasun committed Mar 7, 2024
1 parent 280deca commit 1f84a92
Show file tree
Hide file tree
Showing 3 changed files with 1,077 additions and 1,340 deletions.
4 changes: 2 additions & 2 deletions website/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
Loading

0 comments on commit 1f84a92

Please sign in to comment.