Skip to content

Give the Swift on Android landing page a display name and abstract#48

Merged
marcprux merged 1 commit into
swiftlang:mainfrom
heckj:docs/landing-page-title-abstract
Jul 2, 2026
Merged

Give the Swift on Android landing page a display name and abstract#48
marcprux merged 1 commit into
swiftlang:mainfrom
heckj:docs/landing-page-title-abstract

Conversation

@heckj

@heckj heckj commented Jul 1, 2026

Copy link
Copy Markdown
Member

Motivation

In the aggregated swift.org documentation, the Android guide's landing page renders with the smashed-together module symbol name (SwiftAndroid) and no abstract. The root article used a plain-text heading (# Swift on Android), which detaches it from the module symbol, so the built module page had no abstract and none of the article content.

Changes

  • Switch the landing page heading to the module symbol reference (SwiftAndroid) so the article's abstract and content attach to the module page.
  • Add @Metadata { @DisplayName("Swift for Android") } so the page and navigation read as "Swift for Android" instead of "SwiftAndroid". This also parallels the "Swift for WebAssembly" landing page in the same Platforms navigation group.
  • Add a concise abstract: "Build native libraries and apps for Android with Swift, from toolchain setup to integrating with Android tooling."

Validation

swift package generate-documentation --target SwiftAndroid --analyze --warnings-as-errors builds successfully. The generated module page now shows the title "Swift for Android" and the abstract.

This makes the content fit in more effectively with a combined Swift documentation set.

Switch the SwiftAndroid landing page from a plain-text heading to the
module symbol reference so its abstract and content attach to the
module page. Add a DisplayName of "Swift for Android" and a concise
abstract.

@marcprux marcprux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@marcprux marcprux merged commit 2dc9322 into swiftlang:main Jul 2, 2026
80 of 82 checks passed
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.

2 participants