Skip to content

Commit

Permalink
Merge pull request #29 from rust3ds/feature/gh-pages-docs
Browse files Browse the repository at this point in the history
First pass of generating docs to github pages
  • Loading branch information
ian-h-chamberlain authored Nov 21, 2023
2 parents c4ae496 + 599e4da commit 2da7285
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
container: devkitpro/devkitarm
steps:
- name: Checkout branch
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: rust3ds/test-runner/setup@v1
with:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
container: devkitpro/devkitarm
steps:
- name: Checkout branch
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: rust3ds/test-runner/setup@v1
with:
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: docs

on:
push:
branches:
- main
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
container: devkitpro/devkitarm
steps:
- name: Checkout branch
uses: actions/checkout@v4

- uses: rust3ds/test-runner/setup@v1
with:
toolchain: nightly

- name: Build workspace docs
run: cargo 3ds --verbose doc --verbose --no-deps --workspace

- name: Upload generated docs
uses: actions/upload-pages-artifact@v2
with:
path: ./target/armv6k-nintendo-3ds/doc

- name: Deploy GitHub pages
uses: actions/deploy-pages@v2

0 comments on commit 2da7285

Please sign in to comment.