2023-07-20 18:33:57 +02:00
|
|
|
import type { DefaultTheme } from "vitepress";
|
|
|
|
|
|
|
|
import nav from "./navigation/navbar";
|
|
|
|
import sidebar from "./navigation/sidebar";
|
|
|
|
|
|
|
|
const themeConfig: DefaultTheme.Config = {
|
|
|
|
logo: "/img/logo-128px.png",
|
|
|
|
|
|
|
|
nav: nav,
|
|
|
|
sidebar: sidebar,
|
|
|
|
|
|
|
|
outline: [2, 3],
|
|
|
|
|
|
|
|
socialLinks: [
|
2023-07-25 16:17:21 +02:00
|
|
|
{ icon: "github", link: "https://github.com/tachiyomiorg/tachiyomi", ariaLabel: "Project GitHub" },
|
|
|
|
{ icon: "discord", link: "https://discord.gg/tachiyomi", ariaLabel: "Discord Server" },
|
|
|
|
{ icon: "twitter", link: "https://twitter.com/tachiyomiorg", ariaLabel: "Twitter Page" },
|
|
|
|
{ icon: "facebook", link: "https://facebook.com/tachiyomiorg", ariaLabel: "Facebook Page" },
|
|
|
|
//{ icon: "instagram", link: "https://instagram.com/tachiyomiorg", ariaLabel: "Instagram Page" },
|
2023-07-20 18:33:57 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
footer: {
|
2023-07-21 17:20:10 +02:00
|
|
|
message: `<a href="https://www.apache.org/licenses/LICENSE-2.0" target="_blank">Open-source Apache Licensed</a> | <a href="./privacy">Privacy policy</a> | Powered by <a target="_blank" href="https://www.netlify.com/">Netlify <img src="/img/netlify.svg" height="12px" width="12px" style="display: inline-block"></a>`,
|
2023-07-20 18:33:57 +02:00
|
|
|
copyright: `Copyright © 2015 - ${new Date().getFullYear()} Javier Tomás`,
|
|
|
|
},
|
|
|
|
|
|
|
|
editLink: {
|
|
|
|
pattern: "https://github.com/xhenos/kodo/edit/v3-vitepress/src/:path",
|
|
|
|
text: "Help us improve this page",
|
|
|
|
},
|
|
|
|
|
|
|
|
lastUpdated: {
|
|
|
|
text: "Last updated",
|
|
|
|
formatOptions: {
|
|
|
|
dateStyle: "long",
|
|
|
|
timeStyle: "short",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
search: {
|
|
|
|
provider: "local",
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export default themeConfig;
|