mirror of
https://github.com/Lissy93/dashy.git
synced 2025-04-08 17:06:18 +02:00
📎 Adds footer text
This commit is contained in:
parent
513178931b
commit
123ca9f74e
@ -1,6 +1,14 @@
|
|||||||
const lightCodeTheme = require('prism-react-renderer/themes/github');
|
const lightCodeTheme = require('prism-react-renderer/themes/github');
|
||||||
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
||||||
|
|
||||||
|
const licenseUrl = 'https://github.com/Lissy93/dashy/blob/master/LICENSE';
|
||||||
|
const aliciaUrl = 'https://aliciasykes.com';
|
||||||
|
const dashyUrl = 'https://dashy.to';
|
||||||
|
|
||||||
|
const footerText = `<a href="${dashyUrl}">Dashy</a> - The Self-Hosted Dashboard for your Homelab`
|
||||||
|
+ `<br>License under <a href="${licenseUrl}">MIT</a>. `
|
||||||
|
+ `Copyright © ${new Date().getFullYear()} <a href="${aliciaUrl}">Alicia Sykes</a>`;
|
||||||
|
|
||||||
/** @type {import('@docusaurus/types').DocusaurusConfig} */
|
/** @type {import('@docusaurus/types').DocusaurusConfig} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
title: 'Dashy',
|
title: 'Dashy',
|
||||||
@ -28,29 +36,63 @@ module.exports = {
|
|||||||
style: 'dark',
|
style: 'dark',
|
||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
title: 'Docs',
|
title: 'Intro',
|
||||||
items: [
|
items: [
|
||||||
{
|
{ label: 'GitHub', to: 'https://github.com/lissy93/dashy' },
|
||||||
label: 'Tutorial',
|
{ label: 'Live Demo', to: 'https://demo.dashy.to' },
|
||||||
to: '/docs/intro',
|
{ label: 'Quick Start', to: '/docs/quick-start' },
|
||||||
},
|
{ label: 'Documentation', to: '/docs' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'More',
|
title: 'Setup Guide',
|
||||||
items: [
|
items: [
|
||||||
{
|
{ label: 'Deploying', to: '/docs/deployment' },
|
||||||
label: 'Docs',
|
{ label: 'Configuring', to: '/docs/configuring' },
|
||||||
to: '/docs',
|
{ label: 'Management', to: '/docs/management' },
|
||||||
},
|
{ label: 'Troubleshooting', to: '/docs/troubleshooting' },
|
||||||
{
|
],
|
||||||
label: 'GitHub',
|
},
|
||||||
href: 'https://github.com/lissy93/dashy',
|
{
|
||||||
},
|
title: 'Feature Docs Pt 1',
|
||||||
|
items: [
|
||||||
|
{ label: 'Authentication', to: '/docs/deployment' },
|
||||||
|
{ label: 'Alternate Views', to: '/docs/configuring' },
|
||||||
|
{ label: 'Backup & Restore', to: '/docs/management' },
|
||||||
|
{ label: 'Icons', to: '/docs/troubleshooting' },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Feature Docs Pt 2',
|
||||||
|
items: [
|
||||||
|
{ label: 'Language Switching', to: '/docs/troubleshooting' },
|
||||||
|
{ label: 'Status Indicators', to: '/docs/troubleshooting' },
|
||||||
|
{ label: 'Searching & Shortcuts', to: '/docs/troubleshooting' },
|
||||||
|
{ label: 'Theming', to: '/docs/troubleshooting' },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Developing & Community',
|
||||||
|
items: [
|
||||||
|
{ label: 'Developing', to: '/docs/deployment' },
|
||||||
|
{ label: 'Development Guides', to: '/docs/configuring' },
|
||||||
|
{ label: 'Contributing', to: '/docs/management' },
|
||||||
|
{ label: 'Showcase', to: '/docs/troubleshooting' },
|
||||||
|
{ label: 'Credits', to: '/docs/troubleshooting' },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Misc',
|
||||||
|
items: [
|
||||||
|
{ label: 'Privacy & Security', to: '/docs/deployment' },
|
||||||
|
{ label: 'License', to: '/docs/configuring' },
|
||||||
|
{ label: 'Legal', to: '/docs/management' },
|
||||||
|
{ label: 'Code of Conduct', to: '/docs/troubleshooting' },
|
||||||
|
{ label: 'Changelog', to: '/docs/troubleshooting' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
copyright: `Copyright © ${new Date().getFullYear()} Alicia Sykes`,
|
copyright: footerText,
|
||||||
},
|
},
|
||||||
prism: {
|
prism: {
|
||||||
theme: lightCodeTheme,
|
theme: lightCodeTheme,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user