2024-08-24 17:30:11 +02:00
|
|
|
import type * as Preset from "@docusaurus/preset-classic";
|
|
|
|
import type { Config } from "@docusaurus/types";
|
|
|
|
import { themes as prismThemes } from "prism-react-renderer";
|
|
|
|
|
|
|
|
const config: Config = {
|
|
|
|
title: "Pingvin Share",
|
|
|
|
tagline:
|
|
|
|
"Pingvin Share is self-hosted file sharing platform and an alternative for WeTransfer.",
|
|
|
|
favicon: "img/pingvinshare.svg",
|
2024-09-06 09:16:50 +02:00
|
|
|
|
2024-08-24 17:30:11 +02:00
|
|
|
url: "https://stonith404.github.io",
|
|
|
|
baseUrl: "/pingvin-share/",
|
|
|
|
organizationName: "stonith404",
|
|
|
|
projectName: "pingvin-share",
|
|
|
|
|
|
|
|
onBrokenLinks: "warn",
|
|
|
|
onBrokenMarkdownLinks: "warn",
|
|
|
|
|
|
|
|
i18n: {
|
|
|
|
defaultLocale: "en",
|
|
|
|
locales: ["en"],
|
|
|
|
},
|
|
|
|
|
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
"classic",
|
|
|
|
{
|
|
|
|
docs: {
|
|
|
|
routeBasePath: "/",
|
|
|
|
sidebarPath: "./sidebars.ts",
|
2024-08-25 15:42:21 +02:00
|
|
|
editUrl: "https://github.com/stonith404/pingvin-share/edit/main/docs",
|
2024-08-24 17:30:11 +02:00
|
|
|
},
|
|
|
|
blog: false,
|
|
|
|
} satisfies Preset.Options,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
themeConfig: {
|
|
|
|
image: "img/pingvinshare.svg",
|
2024-09-06 09:16:50 +02:00
|
|
|
colorMode: {
|
2024-08-25 17:47:08 +02:00
|
|
|
respectPrefersColorScheme: true,
|
|
|
|
},
|
2024-08-24 17:30:11 +02:00
|
|
|
navbar: {
|
|
|
|
title: "Pingvin Share",
|
|
|
|
logo: {
|
|
|
|
alt: "Pingvin Share Logo",
|
|
|
|
src: "img/pingvinshare.svg",
|
|
|
|
},
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
href: "https://github.com/stonith404/pingvin-share",
|
|
|
|
label: "GitHub",
|
|
|
|
position: "right",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
prism: {
|
|
|
|
theme: prismThemes.github,
|
|
|
|
darkTheme: prismThemes.dracula,
|
|
|
|
},
|
|
|
|
} satisfies Preset.ThemeConfig,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|