18 lines
401 B
TypeScript
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}`,
|
|
};
|
|
}
|