Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add authoring support for @TitleHeading directive #623

Merged
merged 2 commits into from
Jun 13, 2023

Conversation

emilyychenn
Copy link
Contributor

A new `@TitleHeading` metadata directive for customizing the text of a page-title heading (also known as an eyebrow or kick).

`@TitleHeading` accepts an unnamed parameter containing containing the page-title’s heading text.

    @metadata {
      @TitleHeading("Release Notes")
    }

This feature has been pitched on the forums here:
https://forums.swift.org/t/supporting-more-types-of-documentation-with-swift-docc/59725#titleheading-10

rdar://110662981
@emilyychenn emilyychenn requested a review from franklinsch June 12, 2023 21:42
@emilyychenn emilyychenn marked this pull request as ready for review June 12, 2023 21:42
@emilyychenn
Copy link
Contributor Author

@swift-ci please test

@emilyychenn emilyychenn changed the title Add authoring support for @TitleHeading directive (#611) Add authoring support for @TitleHeading directive Jun 12, 2023
@emilyychenn
Copy link
Contributor Author

@swift-ci please test

@emilyychenn emilyychenn merged commit 6f72447 into swiftlang:release/5.9 Jun 13, 2023
@emilyychenn emilyychenn deleted the add-title-heading-5.9 branch June 13, 2023 22:42
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