File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,11 @@ jobs:
24
24
25
25
- name : Build DocC
26
26
run : |
27
- swift package --allow-writing-to-directory ./docs \
28
- generate-documentation \
29
- --target SwiftUIViewCodingGuidelines \
30
- --disable-indexing \
27
+ $(xcrun --find docc) convert \
31
28
--transform-for-static-hosting \
32
29
--hosting-base-path SwiftUIViewCodingGuidelines \
33
- --output-path ./docs
30
+ --output-path ./docs \
31
+ Sources/SwiftUIViewCodingGuidelines/Guidelines.docc
34
32
35
33
- name : Upload artifact
36
34
uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ 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
- ] ,
17
14
targets: [
18
15
// Targets are the basic building blocks of a package, defining a module or a test suite.
19
16
// 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