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 d12a8e7 commit 1c82d9cCopy full SHA for 1c82d9c
.github/workflows/contrib.yml
@@ -21,6 +21,9 @@ jobs:
21
mkdir mdbook
22
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.9/mdbook-v0.4.9-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
23
echo `pwd`/mdbook >> $GITHUB_PATH
24
+ - name: Build API doc
25
+ run: |
26
+ cargo doc --document-private-items --no-deps
27
- name: Deploy docs
28
run: |
29
cd src/doc/contrib
@@ -33,6 +36,8 @@ jobs:
33
36
git update-ref -d refs/heads/gh-pages
34
37
rm -rf contrib
35
38
mv ../book contrib
39
+ # Move rustdoc under contrib/
40
+ mv ../../../../target/doc contrib/apidoc
41
git add contrib
42
git commit -m "Deploy $GITHUB_SHA to gh-pages"
43
git push --force
0 commit comments