Skip to content

Commit

Permalink
build: update docosaurus to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Jan 8, 2024
1 parent 5cf27fd commit e44a09c
Show file tree
Hide file tree
Showing 3 changed files with 4,462 additions and 2,663 deletions.
7 changes: 3 additions & 4 deletions docusaurus.config.js → docusaurus.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// @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');
import { themes } from 'prism-react-renderer'

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down Expand Up @@ -129,8 +128,8 @@ const config = {
copyright: `Copyright © ${new Date().getFullYear()} Zazuko GmbH. Built with Docusaurus.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
theme: themes.jettwaveLight,
darkTheme: themes.jettwaveDark,
additionalLanguages: ['turtle'],
},
}),
Expand Down
Loading

0 comments on commit e44a09c

Please sign in to comment.