Skip to content

Commit 347cc73

Browse files
authored
Merge pull request #238 from PyO3/replace-documentation-on-gh-pages
Simpliy the GitHub pages workflow
2 parents be28ad3 + 7cbfc2a commit 347cc73

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

.github/workflows/doc.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,17 @@ on:
88
jobs:
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/[email protected]
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'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ rust-numpy
77
Rust 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

0 commit comments

Comments
 (0)