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 8a89d04 commit 136b7d4Copy full SHA for 136b7d4
.github/workflows/guide.yml
@@ -44,12 +44,12 @@ jobs:
44
# This adds the docs to gh-pages-build/doc
45
- name: Build the doc
46
run: |
47
- cargo +nightly rustdoc --lib --features="macros num-bigint num-complex hashbrown serde multiple-pymethods" -- --cfg docsrs
+ cargo +nightly rustdoc --lib --no-default-features --features="macros num-bigint num-complex hashbrown serde multiple-pymethods" -- --cfg docsrs
48
cp -r target/doc gh-pages-build/doc
49
echo "<meta http-equiv=refresh content=0;url=pyo3/index.html>" > gh-pages-build/doc/index.html
50
51
- name: Deploy
52
- if: github.ref == 'refs/heads/main'
+ if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }}
53
uses: peaceiris/[email protected]
54
with:
55
github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments