mirror of
https://github.com/Luchexx/wacrm.git
synced 2026-11-02 09:19:51 +00:00
Renders every file in docs/*.md as a proper documentation site styled like Stripe / Vercel / Linear docs: sticky header, grouped left sidebar (Setup / Deploy / Operate), dark prose with inline code pills, syntax -ready code blocks, responsive table styling, and prev/next pagination. - src/lib/docs/content.ts — parses md with marked and decorates the HTML with Tailwind utility classes via post-processing regex. Also rewrites inter-doc `./other.md` links to `/docs/other` and extracts an h2/h3 TOC for future use. - src/app/docs/layout.tsx + src/components/docs/shell.tsx — shared frame with docs-scoped header (GitHub, Home, Get started), collapsing sidebar on mobile. - src/app/docs/page.tsx — grouped index cards per section. - src/app/docs/[slug]/page.tsx — individual doc + prev/next nav. - Adds "Docs" to landing nav, footer, and a "Read the full documentation" CTA under the open-source cards. - Adds `marked` dependency. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| (auth) | ||
| (dashboard) | ||
| api | ||
| docs | ||
| favicon.ico | ||
| globals.css | ||
| icon.tsx | ||
| layout.tsx | ||
| opengraph-image.tsx | ||
| page.tsx | ||
| robots.ts | ||
| sitemap.ts | ||