File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,13 @@ jobs:
24
24
25
25
- name : Build DocC
26
26
run : |
27
- $(xcrun --find docc) convert \
27
+ swift package --allow-writing-to-directory ./docs \
28
+ generate-documentation \
29
+ --target SwiftUIViewCodingGuidelines \
30
+ --disable-indexing \
28
31
--transform-for-static-hosting \
29
32
--hosting-base-path SwiftUIViewCodingGuidelines \
30
- --output-path ./docs \
31
- Sources/SwiftUIViewCodingGuidelines/Guidelines.docc
33
+ --output-path ./docs
32
34
33
35
- name : Upload artifact
34
36
uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ let package = Package(
11
11
name: " SwiftUIViewCodingGuidelines " ,
12
12
targets: [ " SwiftUIViewCodingGuidelines " ] ) ,
13
13
] ,
14
+ dependencies: [
15
+ . package ( url: " https://github.com/apple/swift-docc-plugin.git " , exact: " 1.4.3 " )
16
+ ] ,
14
17
targets: [
15
18
// Targets are the basic building blocks of a package, defining a module or a test suite.
16
19
// Targets can depend on other targets in this package and products from dependencies.
You can’t perform that action at this time.
0 commit comments