chore(v2): upgrade examples to beta.2 (#5057)

This commit is contained in:
Sébastien Lorber 2021-06-24 20:02:57 +02:00 committed by GitHub
parent ec2486d2c9
commit 8e386e0244
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 4514 additions and 4470 deletions

View file

@ -1,3 +1,6 @@
const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'My Site',
@ -76,6 +79,10 @@ module.exports = {
],
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
},
presets: [
[