circagraph
Sign inSign up

openchronology/timeline-app on GitHub

The OpenChronology repository on GitHub, mirrored by och-import-github: issues and pull requests as durations (ongoing while open), what happened to them as moments, plus releases, milestones, commits and branches. The Branches view shows the most recently active branches each in a track of its own.

Source: https://github.com/openchronology/timeline-app

3,131 moments · 2026-10-05 CE 20:21:49 UTC – 2026-11-16 CE 12:10:45 UTC · by @athan · @athan

#493 The help's FAQ as FAQPage structured data

–

  • github
  • github/openchronology/timeline-app
  • github/openchronology/timeline-app#493
  • pull request
  • state:merged

Closes #483. `/help/faq` had no structured data, though its headings are the questions people ask. **Changes:** - **Answers:** `server/help.mjs` keeps each help section's first paragraph, as plain text, as its `lead`. - **`faqData(page, url)`** builds a schema.org `FAQPage` from the page's second-level headings that end with "?", with each `lead` as the answer. - **Rendering:** help pages that have questions add it as JSON-LD after the article. Today that's the FAQ. Since the data is built from the document, it can't drift from the page, and every answer is still visible text. **Tests:** `help.test.mjs` checks every FAQ question and plain-text answer, without Markdown, and that a page asking nothing has none. `next-platform` passes here, along with the unit tests (except `contents.test.mjs`, which fails on `main` in this checkout too). **Docs:** `docs/sharing.md#search-engines`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/pull/493

Related

Open #493 The help's FAQ as FAQPage structured data in the timeline

#493 The help's FAQ as FAQPage structured data