File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 88jobs :
99 deploy :
1010 runs-on : ubuntu-latest
11- outputs :
12- tag_name : ${{ steps.prepare_tag.outputs.tag_name }}
1311 steps :
1412 - uses : actions/checkout@v2
1513 - name : Build the doc
1614 run : |
1715 cargo doc --all-features --no-deps
1816 echo "<meta http-equiv=refresh content=0;url=pyo3/index.html>" > target/doc/index.html
1917
20- - name : Prepare tag
21- id : prepare_tag
22- run : |
23- TAG_NAME="${GITHUB_REF##*/}"
24- echo "::set-output name=tag_name::${TAG_NAME}"
25-
2618 - name : Deploy
2719 uses : peaceiris/actions-gh-pages@v3.7.0-8
2820 with :
2921 github_token : ${{ secrets.GITHUB_TOKEN }}
3022 publish_dir : ./target/doc/
31- destination_dir : ${{ steps.prepare_tag.outputs.tag_name }}
32- full_commit_message : ' Upload documentation for ${{ steps.prepare_tag.outputs.tag_name }} '
23+ destination_dir : .
24+ full_commit_message : ' Upload documentation for current main '
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ rust-numpy
77Rust bindings for the NumPy C-API.
88
99## API documentation
10- - [ Latest release (possibly broken) ] ( https://docs.rs/numpy )
10+ - [ Latest release] ( https://docs.rs/numpy )
1111- [ Current main] ( https://pyo3.github.io/rust-numpy )
1212
1313
You can’t perform that action at this time.
0 commit comments