File tree Expand file tree Collapse file tree 3 files changed +38
-17
lines changed Expand file tree Collapse file tree 3 files changed +38
-17
lines changed Original file line number Diff line number Diff line change 1+ name : Docs Build
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ docs-build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v4
10+ - uses : actions/setup-python@v5
11+ - name : Install Dependencies
12+ run : |
13+ python -m pip install -r docs/requirements.txt
14+ - name : Build Docs
15+ run : |
16+ cd docs
17+ make html
18+ - name : Upload Artifact
19+ uses : actions/upload-artifact@v4
20+ with :
21+ name : docs-build
22+ path : docs/_build/html
Original file line number Diff line number Diff line change 1- name : Docs
2- on : [push, pull_request]
1+ name : Docs Deploy
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
38jobs :
4- docs :
9+ docs-deploy :
510 runs-on : ubuntu-latest
6- strategy :
7- fail-fast : false
811 environment :
9- name : docs-build-and- deploy
12+ name : docs-deploy
1013 steps :
1114 - uses : actions/checkout@v4
12- - uses : actions/setup-python@v5
13- - name : Install Dependencies
14- run : |
15- python -m pip install -r docs/requirements.txt
16-
17- - name : Build Docs
18- run : |
19- cd docs
20- make html
15+ - name : Download Artifact
16+ uses : dawidd6/action-download-artifact@v2
17+ with :
18+ workflow : docs-build.yml
19+ name : docs-build
20+ path : docs/_build/html
2121
2222 # Note, the gh-pages deployment requires setting up a SSH deploy key.
2323 # See
2424 # https://github.com/JamesIves/github-pages-deploy-action/tree/dev#using-an-ssh-deploy-key-
2525 - name : Deploy
2626 uses : JamesIves/github-pages-deploy-action@v4
27- if : ${{ github.ref == 'refs/heads/main' }}
2827 with :
2928 folder : docs/_build/html
3029 ssh-key : ${{ secrets.DEPLOY_KEY }}
Original file line number Diff line number Diff line change 55## Minor Changes
66
77- Add [ HTML documentation] ( https://data-apis.org/array-api-compat/ ) . Includes
8- new documentation on the [ module scope] ( scope ) and new [ developer
8+ new documentation on the [ scope of the package ] ( scope ) and new [ developer
99 documentation] ( dev/index.md ) .
1010
1111- Fix ` array_api_compat.numpy.asarray(torch.Tensor) ` to return a NumPy array.
You can’t perform that action at this time.
0 commit comments