Skip to content

Commit 7bfb34c

Browse files
authored
Fix link syntax issue in public documentation page (#787) (#792)
* 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 31e6b1c commit 7bfb34c

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
@@ -609,7 +609,7 @@
609609
"text" : ""
610610
},
611611
{
612-
"text" : "`@Available` is analagous to the `@available` attribute in Swift: It allows you to specify a"
612+
"text" : "`@Available` is analogous to the `@available` attribute in Swift: It allows you to specify a"
613613
},
614614
{
615615
"text" : "platform version that the page relates to. To specify a platform and version, list the platform"
@@ -2952,6 +2952,9 @@
29522952
{
29532953
"text" : "- ``PageImage``"
29542954
},
2955+
{
2956+
"text" : "- ``PageColor``"
2957+
},
29552958
{
29562959
"text" : "- ``CallToAction``"
29572960
},
@@ -4732,7 +4735,7 @@
47324735
"text" : ""
47334736
},
47344737
{
4735-
"text" : " To add a new tab to a ``TabNavigator``, add a `@Tab` directive within the content of the `@TabNavigator` directive."
4738+
"text" : "To add a new tab to a ``TabNavigator``, add a `@Tab` directive within the content of the `@TabNavigator` directive."
47364739
},
47374740
{
47384741
"text" : "- Parameters:"
@@ -4906,7 +4909,7 @@
49064909
"text" : ""
49074910
},
49084911
{
4909-
"text" : " @Tab(\"Excerise routines\") {"
4912+
"text" : " @Tab(\"Exercise routines\") {"
49104913
},
49114914
{
49124915
"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)