Keep links in summary takeaways
The summary collections now show the links authors put inside takeaways. The generator unwraps Google Docs redirects and stores link text and destinations alongside the takeaway strings. Previews and question cards use plain text.
Fixes #1256.
Before and after
The “see also” example is in Flaherty (2020).
- Before
… due to COVID-19 (see also) based on … - After … due to COVID-19 (see also) based on …
With the refreshed Doc, the ⬦ author marker becomes “Summary by Dr Tamara Kalandadze” in five opened entries. Titles, filters, and structured data use the clean title. Here the Guest & Martin citation also moves to its own field when the source mark and stray full stop are removed.
| Width | Before | After |
|---|---|---|
| 390 px | ![]() | ![]() |
| 1440 px | ![]() | ![]() |
Merge order
Merge this PR first, then #1274 against main. The refreshed summaries enter the shared artifact through a subsequent Data Processing run on main.
Structured data
The publisher appears once per collection. Article abstracts end at a word boundary around 200 characters and are decoded before JSON serialization. Both measurements use the refreshed Doc.
| Collection | Before | After |
|---|---|---|
| Open and reproducible science | 214,676 bytes | 148,479 bytes |
| Diversity, equity and inclusion | 41,920 bytes | 29,144 bytes |
Checks
- Compared the rendered targets and exact answer text of all 25 starter questions with the previous checked-in-data build. Both snapshots match all 25. Fogarty’s answer is pinned as a quote because the same sentence appears at different positions in the two snapshots.
- Built both data snapshots with Hugo 0.158.0. The checked-in data renders 194 summaries and 34 DEI entries. The refreshed Doc renders 255 and 51. All 25 question cards resolve in both builds, with no question warnings.
- The full SEO and sitemap checks passed on both builds, including the 200 KB inline-script limit. Check 28 also passed on minified HTML. It requires the summary pages and matches the written credits to the data used for the build.
- Inspected both collections and the overview at 390 and 1440 px with the refreshed data.
- All 195 unit tests and the redesign source rules passed. The branch diff has zero generated-file changes.
🤖 Generated with Codex (GPT-6.2 Sol), coordinated by Claude Code



