Files
helix/helix-api/docs/app/lib/layout.shared.tsx
T

18 lines
401 B
TypeScript

import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
// fill this with your actual GitHub info, for example:
export const gitConfig = {
user: 'fuma-nama',
repo: 'fumadocs',
branch: 'main',
};
export function baseOptions(): BaseLayoutProps {
return {
nav: {
title: 'React Router',
},
githubUrl: `https://github.com/${gitConfig.user}/${gitConfig.repo}`,
};
}