feat(web): add structured data, llms.txt, and Markdown docs pages
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- next.js, react, typescript
- Domain
- backend-api-design, documentation, web-dev
Research direction
Start by reading src/lib/docs.ts, src/app/docs/[...slug]/page.tsx, and src/components/sections/faq.tsx to trace how docs and FAQ content are rendered. Then check the existing metadata, CSP nonce handling, and e2e patterns in the named files. Done means the JSON-LD, generated /llms.txt, Markdown routes, provider titles, crawler decision, and requested e2e coverage meet the acceptance criteria.
Written by the indexing model from the issue text.
Description
Context
First slice of #540 (option C, decided 2026-11-17). Search engines and AI answer engines read structured data and plain Markdown directly. StackDash publishes neither today:
- No
application/ld+jsonanywhere insrc/. - The landing FAQ (
src/components/sections/faq.tsx) has 9 questions and answers with noFAQPagemarkup. - No
/llms.txt, and no Markdown version of a docs page, although every docs page is a Markdown file underdocs/(src/lib/docs.ts). robots.txtallows every crawler (robotsRulesinsrc/lib/site-metadata.ts) by default rather than by a recorded decision.- Provider docs pages are titled with only the company name (
# Vercel,docs/providers/vercel.md:1), so the page title says nothing about what the page covers.
Plan
- JSON-LD, rendered on the server with the request's CSP nonce where needed (
src/proxy.ts, #125):SoftwareApplicationon the landing page (src/app/page.tsx): name, description, category, open-source license, URL.FAQPagebuilt from the samefaqarrayfaq.tsxrenders, so the markup and the visible answers cannot drift.TechArticleandBreadcrumbListon every docs page (src/app/docs/[...slug]/page.tsx).
/llms.txt: the site's one-line summary, then links to the guides, provider pages, API and MCP docs, built fromlistDocs()so a new docs page appears without a second edit.- A plain Markdown version of each docs page at
/docs/<slug>.md, served from the same filereadDocreads, withContent-Type: text/markdown; charset=utf-8.docs/internal/stays unpublished. - Provider page titles: the metadata title of a page in the providers group reads " integration", for example "Vercel integration". The H1 in the Markdown file can stay as it is.
- Robots: keep allowing every crawler, AI crawlers included, because being cited in AI answers is the goal of #540. Record that decision in a comment beside
robotsRulesand indocs/operations/self-hosting.mdso self-hosters know they can change it.
Acceptance criteria
- The landing page carries
SoftwareApplicationandFAQPageJSON-LD, and every docs page carriesTechArticleandBreadcrumbList. Google's Rich Results Test reports no errors for each - The
FAQPagequestions and answers match the visible FAQ exactly -
/llms.txtlists every published docs page and nodocs/internal/page -
/docs/<slug>.mdreturns the page's Markdown with atext/markdowncontent type; an internal or unknown slug returns 404 - Provider docs pages have titles of the form " integration"
- The JSON-LD script tags pass the enforced CSP (no console violations)
- Playwright e2e covers the JSON-LD on the landing page and one docs page,
/llms.txt, and one.mdpage
Files and areas
src/app/page.tsx, src/components/sections/faq.tsx, src/app/docs/[...slug]/page.tsx, src/lib/docs.ts, src/lib/site-metadata.ts, a new src/app/llms.txt/route.ts, a route for the Markdown pages, docs/operations/self-hosting.md, e2e/docs.spec.ts.
Non-goals: new content (#540's other slices), integration pages, blocking any crawler.
Verification
npm run testandnpm run test:e2efor the docs and landing specs.curl -sI localhost:3000/docs/providers/vercel.mdshowscontent-type: text/markdown.- Rich Results Test on a preview deployment, results pasted here.
Model: anthropic/claude-opus-5-5 | Reasoning effort: not reported by harness
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 2
- Avg merge
- 5h 20m
- Merged PRs (30d)
- 287
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from eddiejaoude/StackDash
-
area: integrations documentation priority: P2 size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
eddiejaoude/StackDash#798 ·
Maintainers usually reply within 1 day
-
area: ops documentation priority: P3 size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
eddiejaoude/StackDash#796 ·
Maintainers usually reply within 1 day
-
area: docs documentation impact: low priority: P3 size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
eddiejaoude/StackDash#790 ·
Maintainers usually reply within 1 day
-
area: ops bug impact: low priority: P3 size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
eddiejaoude/StackDash#785 ·
Maintainers usually reply within 1 day
-
area: connections enhancement impact: low priority: P3 size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
eddiejaoude/StackDash#768 ·
Maintainers usually reply within 1 day
All issues in eddiejaoude/StackDash
Similar issues
-
bot:ai-assisted component:midnight-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
midnightntwrk/midnight-js#1790 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
area:vscode bug has repro platform:macos platform:vscode regression
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
anthropics/claude-code#113502 ·
-
Add: Rajdhani TV HDOpencheck:passed streams:add
Difficulty 1/5 Under an hour Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
effort/l priority/p1 risk/high triage/core
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
iflytek/skillhub#1188 · 1 comment ·
Maintainers usually reply within 1 day