We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 497b95c commit 6cb04f0Copy full SHA for 6cb04f0
.github/workflows/docc.yaml
@@ -0,0 +1,26 @@
1
+name: generate-documentation
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ generate-docs:
10
+ runs-on: macos-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: generate-documentation
14
+ # https://apple.github.io/swift-docc-plugin/documentation/swiftdoccplugin/generating-documentation-for-hosting-online/
15
+ run: >
16
+ swift package
17
+ --allow-writing-to-directory ./docs
18
+ generate-documentation
19
+ --output-path ./docs
20
+ --hosting-base-path AccelerateArray
21
+ --disable-indexing
22
+ --transform-for-static-hosting
23
+ - uses: peaceiris/actions-gh-pages@v3
24
+ with:
25
+ github_token: ${{ secrets.GITHUB_TOKEN }}
26
+ publish_dir: ./docs
.jazzy.yaml
0 commit comments