Skip to content

Commit 637c12c

Browse files
committed
Add static files and numpy example
Signed-off-by: guillemdb <[email protected]>
1 parent 2e20987 commit 637c12c

File tree

138 files changed

+15910
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+15910
-0
lines changed

.github/dependabot.yml

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: pip
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
time: "04:00"
8+
open-pull-requests-limit: 10
9+
ignore:
10+
- dependency-name: sphinx-autoapi
11+
versions:
12+
- 1.8.0
13+
- dependency-name: myst-parser
14+
versions:
15+
- 0.13.4
16+
- 0.13.6
17+
- dependency-name: pre-commit
18+
versions:
19+
- 2.11.0
20+
- 2.11.1
21+
- 2.12.0
22+
- 2.12.1
23+
- dependency-name: sphinx
24+
versions:
25+
- 3.5.0
26+
- 3.5.2
27+
- 3.5.3
28+
- 3.5.4
29+
- dependency-name: hypothesis
30+
versions:
31+
- 6.1.1
32+
- 6.2.0
33+
- 6.3.0
34+
- 6.3.4
35+
- 6.6.0
36+
- 6.8.1
37+
- 6.8.3
38+
- 6.8.4
39+
- 6.9.0
40+
- dependency-name: pylint
41+
versions:
42+
- 2.7.0
43+
- 2.7.2
44+
- 2.7.4
45+
- dependency-name: flake8-bugbear
46+
versions:
47+
- 20.11.1
48+
- 21.3.1
49+
- 21.3.2
50+
- 21.4.3
51+
- dependency-name: isort
52+
versions:
53+
- 5.7.0
54+
- 5.8.0
55+
- dependency-name: flake8-docstrings
56+
versions:
57+
- 1.6.0
58+
- dependency-name: flake8
59+
versions:
60+
- 3.9.0
61+
- dependency-name: pycodestyle
62+
versions:
63+
- 2.7.0
64+
- dependency-name: flogging
65+
versions:
66+
- 0.0.12
67+
- 0.0.13
68+
- dependency-name: pytest-xdist
69+
versions:
70+
- 2.2.1
71+
- dependency-name: pytest
72+
versions:
73+
- 6.2.2
74+
- dependency-name: jinja2
75+
versions:
76+
- 2.11.3
77+
- dependency-name: ruyaml
78+
versions:
79+
- 0.20.0
80+
- dependency-name: black
81+
versions:
82+
- 20.8b1
83+
- dependency-name: pytest-cov
84+
versions:
85+
- 2.11.1
86+
- dependency-name: flakehell
87+
versions:
88+
- 0.9.0

.github/workflows/deploy-docs.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Pages
2+
on:
3+
push:
4+
branches:
5+
- master
6+
7+
env:
8+
NOTEBOOKS_SRC_DIR: "../notebooks"
9+
NOTEBOOKS_BUILD_DIR: "./source/notebooks"
10+
PIP_CACHE: |
11+
~/.cache/pip
12+
~/.local/bin
13+
~/.local/lib/python3.*/site-packages
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/setup-python@v2
20+
with:
21+
python-version: "3.8"
22+
- uses: actions/checkout@master
23+
with:
24+
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
25+
- name: actions/cache
26+
uses: actions/cache@v2
27+
with:
28+
path: ${{ env.PIP_CACHE }}
29+
key: ubuntu-20.04-pip-docs-${{ hashFiles('requirements.txt') }}
30+
restore-keys: ubuntu-20.04-pip-docs-
31+
- name: Install package and dependencies
32+
run: |
33+
set -x
34+
pip install -r requirements.txt
35+
pip install .
36+
if [ -e "${NOTEBOOKS_SRC_DIR}" ] && [ -e "${NOTEBOOKS_BUILD_DIR}" ]; then \
37+
echo "${NOTEBOOKS_BUILD_DIR} Updating notebook folder."; \
38+
rm -rf "${NOTEBOOKS_BUILD_DIR}"; \
39+
cp -r "${NOTEBOOKS_SRC_DIR}" "${NOTEBOOKS_BUILD_DIR}"; \
40+
fi
41+
- name: Build and Commit
42+
uses: sphinx-notes/pages@v2
43+
with:
44+
documentation_path: ./docs/source
45+
requirements_path: ./docs/requirements-docs.txt
46+
- name: Push changes
47+
uses: ad-m/github-push-action@master
48+
with:
49+
github_token: ${{ secrets.GITHUB_TOKEN }}
50+
branch: gh-pages

0 commit comments

Comments
 (0)