2021-06-27 15:47:20 +03:00
|
|
|
const lightCodeTheme = require('prism-react-renderer/themes/github');
|
|
|
|
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
|
|
|
|
|
|
|
/** @type {import('@docusaurus/types').DocusaurusConfig} */
|
|
|
|
module.exports = {
|
|
|
|
title: 'Dashy',
|
|
|
|
tagline: 'The Ultimate Homepage for your Homelab',
|
|
|
|
url: 'https://dashy.to',
|
|
|
|
baseUrl: '/',
|
|
|
|
onBrokenLinks: 'throw',
|
|
|
|
onBrokenMarkdownLinks: 'warn',
|
|
|
|
favicon: 'img/favicon.ico',
|
|
|
|
organizationName: 'facebook', // Usually your GitHub org/user name.
|
|
|
|
projectName: 'docusaurus', // Usually your repo name.
|
2021-06-27 19:58:08 +03:00
|
|
|
plugins: ['docusaurus-plugin-sass'],
|
2021-06-27 15:47:20 +03:00
|
|
|
themeConfig: {
|
|
|
|
navbar: {
|
|
|
|
title: 'Dashy',
|
|
|
|
logo: {
|
|
|
|
alt: 'My Site Logo',
|
|
|
|
src: 'img/dashy-512.png',
|
|
|
|
},
|
|
|
|
items: [
|
|
|
|
|
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
|
|
|
style: 'dark',
|
|
|
|
links: [
|
|
|
|
{
|
|
|
|
title: 'Docs',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Tutorial',
|
|
|
|
to: '/docs/intro',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'More',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Docs',
|
|
|
|
to: '/docs',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'GitHub',
|
|
|
|
href: 'https://github.com/lissy93/dashy',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
copyright: `Copyright © ${new Date().getFullYear()} Alicia Sykes`,
|
|
|
|
},
|
|
|
|
prism: {
|
|
|
|
theme: lightCodeTheme,
|
|
|
|
darkTheme: darkCodeTheme,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
'@docusaurus/preset-classic',
|
|
|
|
{
|
|
|
|
docs: {
|
|
|
|
sidebarPath: require.resolve('./sidebars.js'),
|
|
|
|
// Please change this to your repo.
|
|
|
|
editUrl:
|
|
|
|
'https://github.com/facebook/docusaurus/edit/master/website/',
|
|
|
|
},
|
|
|
|
theme: {
|
2021-06-27 19:58:08 +03:00
|
|
|
customCss: [
|
|
|
|
require.resolve('./src/styles/Colors.scss'),
|
|
|
|
require.resolve('./src/styles/Typography.scss'),
|
|
|
|
require.resolve('./src/styles/custom.scss'),
|
|
|
|
]
|
2021-06-27 15:47:20 +03:00
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
};
|