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 // @ts-check
// Note: type annotations allow type checking and IDEs autocompletion // Note: type annotations allow type checking and IDEs autocompletion
const lightCodeTheme = require('prism-react-renderer/themes/github'); import lightCodeTheme from 'prism-react-renderer/themes/github';
const darkCodeTheme = require('prism-react-renderer/themes/dracula'); import darkCodeTheme from 'prism-react-renderer/themes/dracula';
/** @type {import('@docusaurus/types').Config} */ /** @type {import('@docusaurus/types').Config} */
const config = { const config = {
@ -41,7 +41,7 @@ const config = {
// Remove this to remove the "edit this page" links. // Remove this to remove the "edit this page" links.
}, },
blog: false, 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} */ /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = { const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure // 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 // But you can create a sidebar manually
/* /*