Skip to content

Commit 6cb04f0

Browse files
committed
build docs with docc
1 parent 497b95c commit 6cb04f0

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.github/workflows/docc.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)