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.
iced-rs/docs
1 parent 92a699b commit 8b0f2e6Copy full SHA for 8b0f2e6
1 file changed
.github/workflows/document.yml
@@ -0,0 +1,32 @@
1
+name: Document
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+jobs:
7
+ all:
8
+ runs-on: ubuntu-20.04
9
+ concurrency:
10
+ group: ${{ github.workflow }}-${{ github.ref }}
11
+ steps:
12
+ - uses: hecrj/setup-rust-action@v1
13
+ - uses: actions/checkout@v2
14
+ - name: Generate documentation
15
+ run: |
16
+ cargo doc --no-deps --all-features \
17
+ -p iced_core \
18
+ -p iced_native \
19
+ -p iced_lazy \
20
+ -p iced_web \
21
+ -p iced_graphics \
22
+ -p iced_wgpu \
23
+ -p iced_glow \
24
+ -p iced_winit \
25
+ -p iced_glutin \
26
+ -p iced
27
+ - name: Publish documentation
28
+ uses: peaceiris/actions-gh-pages@v3
29
+ with:
30
+ deploy_key: ${{ secrets.DOCS_DEPLOY_KEY }}
31
+ external_repository: iced-rs/docs
32
+ publish_dir: ./target/doc
0 commit comments