Update config

This commit is contained in:
Yehor Vialov 2025-04-23 11:35:39 +03:00
parent f89acc5c98
commit c9a9414a1f

View File

@ -11,7 +11,7 @@ import { themes as prismThemes } from 'prism-react-renderer';
/** @type {import('@docusaurus/types').Config} */ /** @type {import('@docusaurus/types').Config} */
const config = { const config = {
title: 'HomeLab Documented', title: 'HomeLab Documented',
tagline: 'A project of public documentation for one home lab', tagline: 'A homelab public documentation project',
favicon: 'img/favicon.ico', favicon: 'img/favicon.ico',
// Set the production url of your site here // Set the production url of your site here
@ -78,7 +78,7 @@ const config = {
navbar: { navbar: {
title: 'HomeLab Documented', title: 'HomeLab Documented',
logo: { logo: {
alt: 'My Site Logo', alt: 'HomeLab Logo',
src: 'img/logo.svg', src: 'img/logo.svg',
}, },
items: [ items: [
@ -90,8 +90,8 @@ const config = {
}, },
{ to: '/blog', label: 'Blog', position: 'left' }, { to: '/blog', label: 'Blog', position: 'left' },
{ {
href: 'https://github.com/facebook/docusaurus', href: 'https://git.nicelycomposed.codes/yehor/homelab-documented',
label: 'GitHub', label: 'Source code',
position: 'right', position: 'right',
}, },
], ],
@ -103,43 +103,26 @@ const config = {
title: 'Docs', title: 'Docs',
items: [ items: [
{ {
label: 'Tutorial', label: 'Docs',
to: '/docs/intro', to: '/docs/intro',
}, },
], ],
}, },
{ {
title: 'Community', title: 'Connect',
items: [ items: [
{ {
label: 'Stack Overflow', label: 'Mastodon',
href: 'https://stackoverflow.com/questions/tagged/docusaurus', href: 'https://techhub.social/@estevez',
}, },
{ {
label: 'Discord', label: 'Other',
href: 'https://discordapp.com/invite/docusaurus', href: 'https://www.yevi.org',
},
{
label: 'X',
href: 'https://x.com/docusaurus',
},
],
},
{
title: 'More',
items: [
{
label: 'Blog',
to: '/blog',
},
{
label: 'GitHub',
href: 'https://github.com/facebook/docusaurus',
}, },
], ],
}, },
], ],
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`, copyright: `Copyright © ${new Date().getFullYear()} Yehor Vialov`,
}, },
prism: { prism: {
theme: prismThemes.github, theme: prismThemes.github,