@@ -14,35 +14,35 @@ jobs:
14
14
contents : write
15
15
16
16
steps :
17
- - name : checkout and set up
18
- uses : actions/checkout@v2
17
+ - name : checkout and set up
18
+ uses : actions/checkout@v2
19
19
20
- - name : setup python
21
- uses : actions/setup-python@v2
22
- with :
23
- python-version : 3.9
20
+ - name : setup python
21
+ uses : actions/setup-python@v2
22
+ with :
23
+ python-version : 3.9
24
24
25
- - name : install all dependencies
26
- run : |
27
- sudo apt install pandoc
28
- python -m pip install --upgrade pip
29
- pip install install 'Sphinx==6.2.1' 'sphinx-autoapi==3.0.0' 'sphinx-autodoc-typehints' 'sphinx-code-include' 'sphinx-rtd-theme' 'sphinxcontrib-applehelp' 'sphinxcontrib-devhelp' 'sphinxcontrib-htmlhelp' 'sphinxcontrib-jsmath' 'sphinxcontrib-napoleon' 'sphinxcontrib-qthelp' 'sphinxcontrib-serializinghtml' autoapi nbsphinx myst_parser pandoc jupyter matplotlib imblearn fsspec
30
- pip install --no-cache-dir -e .
31
- - name : Re-run notebooks
32
- run : |
33
- find . -iname '*.ipynb' -exec jupyter nbconvert --to notebook --inplace --execute {} \; > out.txt 2>&1
34
- cat out.txt
35
- cat out.txt | grep -zvqi exception && echo 'no errors detected' || exit
36
- cat out.txt | grep -zvqi error && echo 'no errors detected' || exit
37
- - name : Make the docs
38
- run : |
39
- cd docssrc && make github
25
+ - name : install all dependencies
26
+ run : |
27
+ sudo apt install pandoc
28
+ python -m pip install --upgrade pip
29
+ pip install 'Sphinx==6.2.1' 'sphinx-autoapi==3.0.0' 'sphinx-autodoc-typehints' 'sphinx-code-include' 'sphinx-rtd-theme' 'sphinxcontrib-applehelp' 'sphinxcontrib-devhelp' 'sphinxcontrib-htmlhelp' 'sphinxcontrib-jsmath' 'sphinxcontrib-napoleon' 'sphinxcontrib-qthelp' 'sphinxcontrib-serializinghtml' autoapi nbsphinx myst_parser pandoc jupyter matplotlib imblearn fsspec
30
+ pip install --no-cache-dir -e .
31
+ - name : Re-run notebooks
32
+ run : |
33
+ find . -iname '*.ipynb' -exec jupyter nbconvert --to notebook --inplace --execute {} \; > out.txt 2>&1
34
+ cat out.txt
35
+ cat out.txt | grep -zvqi exception && echo 'no errors detected' || exit
36
+ cat out.txt | grep -zvqi error && echo 'no errors detected' || exit
37
+ - name : Make the docs
38
+ run : |
39
+ cd docssrc && make github
40
40
41
- - name : Deploy to another branch
42
- uses : s0/git-publish-subdir-action@develop
43
- env :
44
- REPO : self
45
- BRANCH : gh-pages # The branch name where you want to push the assets
46
- FOLDER : docs # The directory where your assets are generated
47
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token
48
- MESSAGE : " Rebuilt the docs" # The commit message
41
+ - name : Deploy to another branch
42
+ uses : s0/git-publish-subdir-action@develop
43
+ env :
44
+ REPO : self
45
+ BRANCH : gh-pages # The branch name where you want to push the assets
46
+ FOLDER : docs # The directory where your assets are generated
47
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token
48
+ MESSAGE : " Rebuilt the docs" # The commit message
0 commit comments