diff --git a/surfsense_web/app/docs/layout.tsx b/surfsense_web/app/docs/layout.tsx index 27dd5de7a..452106396 100644 --- a/surfsense_web/app/docs/layout.tsx +++ b/surfsense_web/app/docs/layout.tsx @@ -3,9 +3,17 @@ import type { ReactNode } from "react"; import { baseOptions } from "@/app/layout.config"; import { source } from "@/lib/source"; +const gridTemplate = `"sidebar header toc" +"sidebar toc-popover toc" +"sidebar main toc" 1fr / var(--fd-sidebar-col) minmax(0, 1fr) min-content`; + export default function Layout({ children }: { children: ReactNode }) { return ( - + {children} ); diff --git a/surfsense_web/app/globals.css b/surfsense_web/app/globals.css index c192a27be..11d7d7a94 100644 --- a/surfsense_web/app/globals.css +++ b/surfsense_web/app/globals.css @@ -235,3 +235,4 @@ button { @source '../node_modules/streamdown/dist/*.js'; @source '../node_modules/@streamdown/code/dist/*.js'; @source '../node_modules/@streamdown/math/dist/*.js'; + diff --git a/surfsense_web/app/layout.config.tsx b/surfsense_web/app/layout.config.tsx index b1b07fd02..214c5b940 100644 --- a/surfsense_web/app/layout.config.tsx +++ b/surfsense_web/app/layout.config.tsx @@ -1,7 +1,7 @@ import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared"; - export const baseOptions: BaseLayoutProps = { nav: { - title: "SurfSense Documentation", + title: "SurfSense Docs", }, + githubUrl: "https://github.com/MODSetter/SurfSense", };