Files
sofa/docs/src/lib/layout.shared.tsx
T
jake 07dc3923c4 feat: add docs app with Fumadocs
- Add `docs/` — Next.js 15 app powered by Fumadocs with a landing page, docs layout, search, OG image generation, and LLM text routes
- Cover getting started, configuration, integrations (Plex, Emby, Jellyfin, Radarr, Sonarr), mobile app setup, and telemetry in MDX
- Exclude `docs/` from root Biome config since it has its own `biome.json`
2026-03-14 10:39:37 -04:00

26 lines
623 B
TypeScript

import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared";
import { SofaLogo } from "@/components/sofa-logo";
export const gitConfig = {
user: "jakejarvis",
repo: "sofa",
branch: "main",
};
export function baseOptions(): BaseLayoutProps {
return {
nav: {
title: (
<>
<SofaLogo className="size-6" />
<span className="font-display text-[17px] leading-none">Sofa</span>
</>
),
transparentMode: "top",
},
links: [{ text: "Docs", url: "/docs" }],
githubUrl: "https://github.com/jakejarvis/sofa",
themeSwitch: { enabled: false },
};
}