Skip to content

Commit af35361

Browse files
committed
docs: Add flag to show notes and usage hints when previewing documentation
1 parent 00d85f2 commit af35361

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Sources/swift-container-plugin/Empty.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@
1717

1818
// SwiftContainerPluginDocumentation is an otherwise empty target that includes high-level,
1919
// user-facing documentation about using the Swift Container Plugin from the command-line.
20+
21+
// To preview the documentation, run the following command:
22+
//
23+
// swift package --disable-sandbox preview-documentation --target swift-container-plugin --analyze

Sources/swift-container-plugin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ user-facing documentation about using the ContainerImageBuilder plugin from the
66
To preview the documentation, run the following command:
77

88
```bash
9-
swift package --disable-sandbox preview-documentation --target swift-container-plugin
9+
swift package --disable-sandbox preview-documentation --target swift-container-plugin --analyze
1010
```
1111

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

0 commit comments

Comments
 (0)