Skip to content

Commit a8bcdde

Browse files
authored
Add AlternateRepresentation to Metadata article (#1128)
The metadata article curates a list of its child directives, with relevant topic titles. This adds `AlternateRepresentation` to that list, in the same section as `SupportedLanguage` as they both deal with language representations.
1 parent 77d5b38 commit a8bcdde

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Sources/SwiftDocC/Semantics/Metadata/AlternateRepresentation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import Foundation
1212
import Markdown
1313

1414

15-
/// A directive that configures an alternate language representations of a symbol.
15+
/// A directive that configures an alternate language representation of a symbol.
1616
///
1717
/// An API that can be called from more than one source language has more than one language representation.
1818
///

Sources/docc/DocCDocumentation.docc/DocC.symbols.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"docComment" : {
7676
"lines" : [
7777
{
78-
"text" : "A directive that configures an alternate language representations of a symbol."
78+
"text" : "A directive that configures an alternate language representation of a symbol."
7979
},
8080
{
8181
"text" : ""

Sources/docc/DocCDocumentation.docc/Reference Syntax/API Reference Syntax/Metadata.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ comment.
8989
### Customizing the Languages of an Article
9090

9191
- ``SupportedLanguage``
92+
- ``AlternateRepresentation``
9293

9394
### Customizing the Availability Information of a Page
9495

0 commit comments

Comments
 (0)