File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -151,13 +151,10 @@ You can also test a locally built version of Swift-DocC using Swift Package Mana
151
151
CLI. SwiftPM will try to read ` DOCC_EXEC` environment variable value, and use
152
152
the path you provded if it' s set.
153
153
154
- 1. In your test `Package.swift`, add a dependency on `swift-docc-plugin`.
155
- [`swift-docc-plugin`](https://github.com/apple-swift-docc-plugin) is a
156
- Swift Package Manager plugin that invokes `docc` for you, see details in
157
- `swift-docc-plugin`.
154
+ 1. In your test `Package.swift`, add a dependency on [`Swift-DocC Plugin`](https://github.com/apple/swift-docc-plugin).
158
155
2. Set `DOCC_EXEC` environment variable and run documentation generation
159
156
command like this:
160
-
157
+
161
158
`DOCC_EXEC=/path/to/docc swift package generate-documentation`
162
159
163
160
## Using `docc` to build and preview documentation
You can’t perform that action at this time.
0 commit comments