File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -148,14 +148,16 @@ log in Xcode's report navigator and expanding the "Compile documentation" step.
148
148
# ## Invoking `docc` from Swift Package Manager
149
149
150
150
You can also test a locally built version of Swift-DocC using Swift Package Manager
151
- CLI. SwiftPM will try to read ` DOCC_EXEC` environment variable value, and use
151
+ CLI. The Swift-DocC SwiftPM plugin 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`](https://github.com/apple/swift-docc-plugin).
155
- 2. Set `DOCC_EXEC` environment variable and run documentation generation
156
- command like this :
154
+ 1. In your project ' s ` Package.swift` , add a dependency on the [` Swift-DocC Plugin` ](https://github.com/apple/swift-docc-plugin).
155
+ 2. Set the ` DOCC_EXEC` environment variable and run the documentation generation
156
+ command:
157
157
158
- `DOCC_EXEC=/path/to/docc swift package generate-documentation`
158
+ ` ` ` bash
159
+ DOCC_EXEC=/path/to/docc swift package generate-documentation
160
+ ` ` `
159
161
160
162
# # Using `docc` to build and preview documentation
161
163
You can’t perform that action at this time.
0 commit comments