Skip to content

Commit

Permalink
Try to generate API reference in gh-pages branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushieno committed May 29, 2021
1 parent 158291d commit 1b974f3
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ jobs:
with:
name: aaphostsample-debug.apk
path: java/samples/aaphostsample/build/outputs/apk/debug/aaphostsample-debug.apk
- name: prepare GitHub Pages
run: |
ln -s docs/native/html gh-pages/native
ln -s java/androidaudioplugin/build/dokka/html gh-pages/kotlin/androidaudioplugin
- name: deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.2
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
branch: gh-pages
folder: gh-pages

osx-build:
name: build on osx
Expand Down
12 changes: 12 additions & 0 deletions gh-pages/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<html>
<head>
<title>AndroidAudioPlugin API References</title>
</head>
<body>
<h1>AndroidAudioPlugin API References</h1>
<h2><a href="native/">Native API</a></h2>
<h2>Kotlin API</h2>
<h3><a href="kotlin/androidaudioplugin/">androidaudioplugin.aar</a></h3>
</body>
</html>

2 changes: 2 additions & 0 deletions gh-pages/kotlin/.keep
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@


0 comments on commit 1b974f3

Please sign in to comment.