Skip to content

Commit

Permalink
chore(docs): upgrade to Docusaurus v3
Browse files Browse the repository at this point in the history
Main breaking change is MDX parsing, which trips up on unescaped `<` in the generated docs, so we have to adjust the generator logic.
  • Loading branch information
shadaj committed Nov 8, 2024
1 parent dcd48fc commit 6ac04d5
Show file tree
Hide file tree
Showing 5 changed files with 7,571 additions and 4,917 deletions.
4 changes: 2 additions & 2 deletions docs/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;

const math = require('remark-math');
const katex = require('rehype-katex');
Expand Down
Loading

0 comments on commit 6ac04d5

Please sign in to comment.