Skip to content

Commit b46caac

Browse files
Set a custom display name for the plugin's documentation (#16)
With Swift 5.7, Swift-DocC has support for setting a custom display name in documentation. We can use it here to render the top-level page of the plugin's documentation as "Swift-DocC Plugin" instead of "SwiftDocCPlugin".
1 parent 8afe743 commit b46caac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/SwiftDocCPluginDocumentation/SwiftDocCPlugin.docc/SwiftDocCPlugin.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Produce Swift-DocC documentation for Swift Package libraries and executables.
44

5+
@Metadata {
6+
@DisplayName("Swift-DocC Plugin")
7+
}
8+
59
## Overview
610

711
The Swift-DocC plugin is a Swift Package Manager command plugin that supports building

0 commit comments

Comments
 (0)