From 827d8176e1db3d9b4dc1e7abf2684b53d015bbb0 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Fri, 25 Oct 2024 18:45:47 -0500 Subject: [PATCH] feat: add github url --- apps/next/src/app/layout.config.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/next/src/app/layout.config.tsx b/apps/next/src/app/layout.config.tsx index 843b36516a..81bb3ca40c 100644 --- a/apps/next/src/app/layout.config.tsx +++ b/apps/next/src/app/layout.config.tsx @@ -1,3 +1,4 @@ +import { DOCUMENT_URL } from "@/lib/const"; import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared"; /** @@ -11,10 +12,11 @@ export const baseOptions: BaseLayoutProps = { nav: { title: "LlamaIndex.TS", }, + githubUrl: "https://github.com/run-llama/LlamaIndexTS", links: [ { text: "Documentation", - url: "/docs/llamaindex", + url: DOCUMENT_URL, active: "nested-url", }, ],