Skip to content

Commit

Permalink
chore: upgrade to docusaurus 3
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum committed Apr 5, 2024
1 parent 4c30b52 commit 8a59e24
Show file tree
Hide file tree
Showing 3 changed files with 16,011 additions and 17 deletions.
5 changes: 4 additions & 1 deletion packages/lexical-website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const importPlugin = require('remark-import-partial');
const gfmPlugin = require('remark-gfm');

const TITLE = 'Lexical';
const GITHUB_REPO_URL = 'https://github.com/facebook/lexical'; // TODO: Update when repo name updated
Expand All @@ -24,6 +25,8 @@ const config = {

favicon: 'img/favicon.ico',

markdown: {format: 'md'},

onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
organizationName: 'facebook',
Expand Down Expand Up @@ -86,7 +89,7 @@ const config = {
docs: {
editUrl: `${GITHUB_REPO_URL}/tree/main/packages/lexical-website/`,
path: 'docs',
remarkPlugins: [importPlugin],
remarkPlugins: [importPlugin, gfmPlugin],
sidebarPath: require.resolve('./sidebars.js'),
},
gtag: {
Expand Down
Loading

0 comments on commit 8a59e24

Please sign in to comment.