Skip to content

feat(landing): publish 7 articles from marketing drafts - #124

Merged
sarthakagrawal927 merged 2 commits into
mainfrom
publish/articles
Sep 20, 2026
Merged

sarthakagrawal927 merged 2 commits into
mainfrom
publish/articles

Conversation

@sarthakagrawal927

Copy link
Copy Markdown
Member

Summary

  • landing-astro/scripts/sync-articles.mjs converts marketing/articles/starboard/ drafts into landing-astro/src/pages/articles/ pages (Article layout; meta_description → description, computed readingMinutes); strips working sections (Outline, Internal-Link Suggestions, Source Notes, inline link notes).
  • New layouts/Article.astro + /articles index + per-article .md mirrors matching the layout's markdown-alternate contract; Layout gains optional structuredData/markdownPath props.
  • Header + footer nav link to Articles; sitemap and canonicals enumerate the articles directory (contract test updated, still single-source).

Test plan

  • pnpm exec astro build in landing-astro — /articles, 7 article pages + .md mirrors emitted
  • vitest run src/__tests__/sitemap.test.ts — 4 pass
  • pnpm run typecheck — clean; biome check — clean
  • Full build:cf overlay verified in CI

Generated with Devin

Adds landing-astro/scripts/sync-articles.mjs to convert
marketing/articles/starboard drafts into Article-layout pages, stripping
working sections (Outline, Internal-Link Suggestions, Source Notes).
Adds /articles index, per-article .md mirrors matching the landing's
markdown-alternate contract, BlogPosting JSON-LD via an optional Layout
prop, header/footer nav links, and sitemap/canonical coverage that
enumerates the articles directory instead of a second hardcoded list.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The sync script's inline-note pattern only matched the bracketed form,
so four "*Internal link suggestion: ...*" lines shipped in the SBOM
essay. Adds a line-anchored pattern covering asterisk and parenthesized
notes (including nested markdown links) and strips do-not-publish HTML
comment blocks; regenerated the article.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@sarthakagrawal927
sarthakagrawal927 merged commit 546da17 into main Sep 20, 2026
1 check passed
@sarthakagrawal927
sarthakagrawal927 deleted the publish/articles branch September 20, 2026 13:30
@sarthakagrawal927
sarthakagrawal927 restored the publish/articles branch September 26, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant