diff --git a/README.md b/README.md index 5b8c50c3..6189c547 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ bun test && bun run typecheck && bun run build | `content/docs/**/meta.json` | Sidebar order and section names for that folder. | | `content/pages/` | Stand-alone pages: `/support` and `/faq`. | | `app/(home)/page.tsx` | The homepage. | -| `public/` | Files served as they are, including the `update-panel.sh` and `migrate-*.sh` scripts. | +| `public/` | Files served as they are, including the `install.sh`, `update-panel.sh` and `migrate-*.sh` scripts (`install.sh` is tested in `scripts/install-sh.test.mjs`). | | `netlify.toml` | Build settings and redirects such as `/discord`. | | `ui/` | Design tokens (`tokens.css`) and site nav (`nav.json`) shared with the Hub; published at `/docs/ui/v1/`. | | `scripts/` | The build's checks, the egg data sync and the packing for the Hub. Listed in [scripts/README.md](scripts/README.md). | diff --git a/app/docs/[[...slug]]/page.tsx b/app/docs/[[...slug]]/page.tsx index d23dbba5..77047dce 100644 --- a/app/docs/[[...slug]]/page.tsx +++ b/app/docs/[[...slug]]/page.tsx @@ -13,6 +13,8 @@ import type { Metadata } from 'next'; import { githubEditUrl, source } from '@/lib/source'; import { docsBreadcrumbJsonLd, jsonLdScript, ogImage, pageMetadata, techArticleJsonLd } from '@/lib/og'; import { getMDXComponents } from '@/mdx-components'; +import { PageActions } from '@/components/docs/page-actions'; +import { markdownPath } from '@/lib/llms'; export const dynamicParams = false; @@ -35,10 +37,21 @@ export default async function Page(props: PageProps<'/docs/[[...slug]]'>) { ); return ( - +