Skip to content

Show "Platforms" eyebrow on Apple platforms, Linux, and Windows - #129

Merged
heckj merged 1 commit into
swiftlang:mainfrom
heckj:docs/platforms-eyebrow
Aug 7, 2026
Merged

Show "Platforms" eyebrow on Apple platforms, Linux, and Windows#129
heckj merged 1 commit into
swiftlang:mainfrom
heckj:docs/platforms-eyebrow

Conversation

@heckj

@heckj heckj commented Aug 6, 2026

Copy link
Copy Markdown
Member

Summary

  • Apple platforms, Linux, and Windows belong to the "Platforms" nav group in scripts/navigation.json, but their DocC landing pages had @TitleHeading(""), so no eyebrow rendered above the title.
  • Sets @TitleHeading("Platforms") on all three so the page eyebrow matches the nav grouping.

Test plan

  • swift package generate-documentation --analyze --warnings-as-errors passes in apple-platforms/, linux/, and windows/
  • Visually confirm the "Platforms" eyebrow renders above the title via swift package --disable-sandbox preview-documentation

…ng pages

These three modules belong to the "Platforms" nav group, but their
title heading was set to an empty string, so no eyebrow was shown.
@heckj
heckj merged commit 0b6bda2 into swiftlang:main Aug 7, 2026
11 checks passed
@heckj
heckj deleted the docs/platforms-eyebrow branch August 7, 2026 16:55
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