File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,24 @@ This will bring up a local web server, so you can view the documentation locally
12
12
make preview
13
13
```
14
14
15
- ### Docc Archive (Xcode)
15
+ ### DocC Archive (Xcode)
16
16
17
17
Generate a DocC Archive that will be automatically imported into Xcode's documentation.
18
18
19
19
```
20
20
make docc
21
21
```
22
22
23
+ #### Build DocC Archive in Xcode
24
+
25
+ Generate a DocC Archive in Xcode. This documentation will be available under the Workspace Documentation section.
26
+ You will need to export ` WebKit ` and import it to add the DocC Archive to the Imported Documentation section.
27
+
28
+ ```
29
+ Open Package.swift
30
+ Product -> Build Documentation (⌃⇧⌘D)
31
+ ```
32
+
23
33
### GitHub Release
24
34
25
35
Generate documentation for a release on GitHub Pages.
@@ -30,5 +40,5 @@ make github
30
40
31
41
## Import Documentation into Xcode
32
42
33
- Open ` WebKit.doccarchive ` and it will be automatically be imported into Xcode.
34
- Running ` make docc ` will also launch Xcode and import the document .
43
+ Open ` WebKit.doccarchive ` and the documentation will be automatically imported into Xcode under the Imported Documention section .
44
+ When running ` make docc ` the documentation will automatically be imported into Xcode .
You can’t perform that action at this time.
0 commit comments