cbr-athena / website /docusaurus.config.js
DinisCruz's picture
Fixed homepage
e7c980d
raw
history blame
1.8 kB
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
const lightCodeTheme = require('prism-react-renderer/themes/github');
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'The Cyber Board Room',
tagline: 'CBR',
favicon: 'img/favicon.ico',
url: 'https://tbd',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
//path: '../',
sidebarPath: require.resolve('./sidebars.js'),
},
theme: {
customCss: [
require.resolve("./src/css/custom.css"),
require.resolve("antd/dist/antd.css"),
],
},
}),
],
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
colorMode: {
defaultMode: "light",
disableSwitch: true,
respectPrefersColorScheme: false,
},
navbar: {
title: 'The CBR',
logo: {
alt: 'The Cyber Board Room',
src: 'img/cbr-logo.jpg',
},
items: [
{
type: 'doc',
docId: 'content/cybersecurity-in-the-boardroom',
position: 'left',
label: 'Security Content',
},
{
to: '/Athena',
label: 'Athena',
position: 'left',
},
],
},
footer: {
style: 'dark',
copyright: `Copyright © ${new Date().getFullYear()} The Cyber Board Room`,
},
prism: {
theme: lightCodeTheme,
},
}),
};
module.exports = config;