Add a prelude to make the method traits easier to import #152
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gh-pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build the doc | |
run: | | |
cargo doc --all-features --no-deps | |
echo "<meta http-equiv=refresh content=0;url=numpy/index.html>" > target/doc/index.html | |
- name: Deploy | |
uses: peaceiris/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./target/doc/ | |
destination_dir: . | |
full_commit_message: 'Upload documentation for current main' |