Skip to content

Commit 700c665

Browse files
authored
Merge pull request #103 from asmeurer/docs
HTML documentation
2 parents d10bf57 + 3d38978 commit 700c665

18 files changed

+1010
-409
lines changed

Diff for: .github/workflows/docs.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Docs
2+
on: [push, pull_request]
3+
jobs:
4+
docs:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
fail-fast: false
8+
environment:
9+
name: docs-build-and-deploy
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-python@v2
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
21+
22+
# Note, the gh-pages deployment requires setting up a SSH deploy key.
23+
# See
24+
# https://github.com/JamesIves/github-pages-deploy-action/tree/dev#using-an-ssh-deploy-key-
25+
- name: Deploy
26+
uses: JamesIves/github-pages-deploy-action@v4
27+
if: ${{ github.ref == 'refs/heads/main' }}
28+
with:
29+
folder: docs/_build/html
30+
ssh-key: ${{ secrets.DEPLOY_KEY }}
31+
force: no

Diff for: CONTRIBUTING.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Contributions to array-api-compat are welcome, so long as they are [in
2+
scope](https://data-apis.org/array-api-compat/index.html#scope).
3+
4+
Contributors are encouraged to read through the [development
5+
notes](https://data-apis.org/array-api-compat/dev/index.html) for the package
6+
to get full context on some of the design decisions and implementation
7+
details used in the codebase.

0 commit comments

Comments
 (0)