Skip to content

Commit 983d2f0

Browse files
committed
edit on github
1 parent 83efa05 commit 983d2f0

File tree

1 file changed

+10
-1
lines changed
  • apps/docs/src/app/docs/[[...slug]]

1 file changed

+10
-1
lines changed

apps/docs/src/app/docs/[[...slug]]/page.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,16 @@ export default async function Page(props: PageProps<"/docs/[[...slug]]">) {
2020
const MDXContent = page.data.body;
2121

2222
return (
23-
<DocsPage toc={page.data.toc} full={page.data.full}>
23+
<DocsPage
24+
toc={page.data.toc}
25+
full={page.data.full}
26+
editOnGithub={{
27+
owner: "macalinao",
28+
repo: "coda",
29+
sha: "master",
30+
path: `apps/docs/content/docs/${params.slug?.join("/") || "index"}.mdx`,
31+
}}
32+
>
2433
<DocsTitle>{page.data.title}</DocsTitle>
2534
<DocsDescription>{page.data.description}</DocsDescription>
2635
<DocsBody>

0 commit comments

Comments
 (0)