mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-27 15:41:42 +01:00
72 lines
2.0 KiB
TypeScript
72 lines
2.0 KiB
TypeScript
import { defineConfig } from 'vitepress'
|
|
import enMenu from "./menus/en.mjs";
|
|
|
|
// https://vitepress.dev/reference/site-config
|
|
export default defineConfig({
|
|
ignoreDeadLinks: [
|
|
/^https?:\/\/localhost:7745/,
|
|
],
|
|
|
|
title: "HomeBox",
|
|
description: "A simple home inventory management software",
|
|
lastUpdated: true,
|
|
sitemap: {
|
|
hostname: 'https://homebox.software',
|
|
},
|
|
|
|
head: [
|
|
['link', { rel: 'icon', href: '/favicon.svg' }],
|
|
['meta', { name: 'theme-color', content: '#3eaf7c' }],
|
|
['meta', { name: 'og:title', content: 'HomeBox' }],
|
|
['meta', { name: 'og:description', content: 'A simple home inventory management software' }],
|
|
['meta', { name: 'og:image', content: '/homebox-email-banner.jpg' }],
|
|
['meta', { name: 'twitter:card', content: 'summary' }],
|
|
],
|
|
|
|
locales: {
|
|
en: {
|
|
label: 'English',
|
|
lang: 'en',
|
|
}
|
|
},
|
|
|
|
themeConfig: {
|
|
logo: '/lilbox.svg',
|
|
|
|
search: {
|
|
provider: 'local'
|
|
},
|
|
editLink: {
|
|
pattern: 'https://github.com/sysadminsmedia/homebox/edit/main/docs/:path'
|
|
},
|
|
// https://vitepress.dev/reference/default-theme-config
|
|
nav: [
|
|
{ text: 'API Docs', link: '/en/api' },
|
|
{ text: 'Demo', link: 'https://demo.homebox.software' },
|
|
],
|
|
|
|
sidebar: {
|
|
'/en/': enMenu,
|
|
},
|
|
|
|
socialLinks: [
|
|
{ icon: 'discord', link: 'https://discord.homebox.software' },
|
|
{ icon: 'github', link: 'https://git.homebox.software' },
|
|
{ icon: 'mastodon', link: 'https://noc.social/@sysadminszone' },
|
|
{ icon: 'lemmy', link: 'https://lemmy.world/c/homebox' },
|
|
{ icon: 'reddit', link: 'https://www.reddit.com/r/homebox/' },
|
|
],
|
|
|
|
footer: {
|
|
message: 'HomeBox is an open-source project under the <a href="https://github.com/sysadminsmedia/homebox/blob/main/LICENSE">AGPL License</a>',
|
|
copyright: '© <a href="https://sysadminsmedia.com/">Sysadmins Media</a>, 2025',
|
|
}
|
|
},
|
|
|
|
markdown: {
|
|
image: {
|
|
lazyLoading: true
|
|
}
|
|
}
|
|
})
|