Skip to content

Commit 97ce0c9

Browse files
authored
Fix link syntax issue in public documentation page (#787)
* Fix link syntax in aside so that the link displays as expected rdar://119959258 * Regenerate directives SGF to pick up minor documentation typo fixes
1 parent 2e35427 commit 97ce0c9

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@
669669
"text" : ""
670670
},
671671
{
672-
"text" : "`@Available` is analagous to the `@available` attribute in Swift: It allows you to specify a"
672+
"text" : "`@Available` is analogous to the `@available` attribute in Swift: It allows you to specify a"
673673
},
674674
{
675675
"text" : "platform version that the page relates to. To specify a platform and version, list the platform"
@@ -3182,6 +3182,9 @@
31823182
{
31833183
"text" : "- ``PageImage``"
31843184
},
3185+
{
3186+
"text" : "- ``PageColor``"
3187+
},
31853188
{
31863189
"text" : "- ``CallToAction``"
31873190
},
@@ -5112,7 +5115,7 @@
51125115
"text" : ""
51135116
},
51145117
{
5115-
"text" : " To add a new tab to a ``TabNavigator``, add a `@Tab` directive within the content of the `@TabNavigator` directive."
5118+
"text" : "To add a new tab to a ``TabNavigator``, add a `@Tab` directive within the content of the `@TabNavigator` directive."
51165119
},
51175120
{
51185121
"text" : "- Parameters:"
@@ -5296,7 +5299,7 @@
52965299
"text" : ""
52975300
},
52985301
{
5299-
"text" : " @Tab(\"Excerise routines\") {"
5302+
"text" : " @Tab(\"Exercise routines\") {"
53005303
},
53015304
{
53025305
"text" : " ![A sloth relaxing and enjoying a good book.](sloth-exercise)"

Sources/docc/DocCDocumentation.docc/documenting-a-swift-framework-or-package.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ To build documentation for your Swift framework or package, use the DocC command
2828

2929
![A screenshot showing the Sloth structure documentation in its rendered form.](1_sloth)
3030

31-
> Tip: You can also use the Swift-DocC Plugin to
32-
[build a documentation archive for a Swift package][plugin-docs].
31+
> Tip: You can also use the Swift-DocC Plugin to [build a documentation archive for a Swift package][plugin-docs].
32+
3333
[plugin-docs]: https://apple.github.io/swift-docc-plugin/documentation/swiftdoccplugin/generating-documentation-for-hosting-online/
3434

3535
DocC uses the comments you write in your source code as the content for the
@@ -85,4 +85,4 @@ You can also use the DocC command-line interface, as described in <doc:distribut
8585

8686
- <doc:writing-symbol-documentation-in-your-source-files>
8787

88-
<!-- Copyright (c) 2021-2023 Apple Inc and the Swift Project authors. All Rights Reserved. -->
88+
<!-- Copyright (c) 2021-2024 Apple Inc and the Swift Project authors. All Rights Reserved. -->

0 commit comments

Comments
 (0)