mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-15 11:50:34 +01:00
ac580b79b4
* Created website for the docs inside /docs * remove old docs and home page * fix wrong redirection path * remove most of the docs from the readme * fix docs path * undo package.json changes * remove unused images * rename "how to" route --------- Co-authored-by: Elias Schneider <login@eliasschneider.com>
62 lines
1.4 KiB
TypeScript
62 lines
1.4 KiB
TypeScript
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",
|
|
|
|
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",
|
|
editUrl: "https://github.com/stonith404/pingvin-share/docs",
|
|
},
|
|
blog: false,
|
|
} satisfies Preset.Options,
|
|
],
|
|
],
|
|
|
|
themeConfig: {
|
|
image: "img/pingvinshare.svg",
|
|
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;
|