Skip to content

Commit 2faecdd

Browse files
Merge pull request #1232 from mindsdb/staging
release 24.5.2.1
2 parents 7ae7ea3 + 5a2a353 commit 2faecdd

File tree

3 files changed

+120
-353
lines changed

3 files changed

+120
-353
lines changed

.github/workflows/doc_build.yml

+29-29
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,35 @@ jobs:
1414
contents: write
1515

1616
steps:
17-
- name: checkout and set up
18-
uses: actions/checkout@v2
17+
- name: checkout and set up
18+
uses: actions/checkout@v2
1919

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
2424

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
4040
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

Comments
 (0)