This commit is contained in:
bisht-richa 2022-07-18 20:48:11 +02:00
parent 2d6a28a58b
commit 2fbace9cae
2 changed files with 5 additions and 5 deletions

View File

@ -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');
import lightCodeTheme from 'prism-react-renderer/themes/github';
import darkCodeTheme from 'prism-react-renderer/themes/dracula';
/** @type {import('@docusaurus/types').Config} */
const config = {
@ -41,7 +41,7 @@ const config = {
// Remove this to remove the "edit this page" links.
},
blog: false,
theme: {customCss: require.resolve('./src/css/custom.css'),},
theme: { customCss: require.resolve('./src/css/custom.css') },
}),
],
],
@ -75,4 +75,4 @@ const config = {
}),
};
module.exports = config;
export default config;

View File

@ -14,7 +14,7 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
tutorialSidebar: [{ type: 'autogenerated', dirName: '.' }],
// But you can create a sidebar manually
/*