mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-23 08:52:28 +03:00
81 lines
1.9 KiB
JavaScript
81 lines
1.9 KiB
JavaScript
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.
|
|
plugins: ['docusaurus-plugin-sass'],
|
|
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: {
|
|
customCss: [
|
|
require.resolve('./src/styles/Colors.scss'),
|
|
require.resolve('./src/styles/Typography.scss'),
|
|
require.resolve('./src/styles/custom.scss'),
|
|
]
|
|
},
|
|
},
|
|
],
|
|
],
|
|
};
|