Skip to content

Commit 2dbc2f2

Browse files
authored
Fix doc build (#1257)
* temp add doc build to workflow * add nltk.downloader to doc build * del temp pull_request from doc_build
1 parent bd8812c commit 2dbc2f2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/doc_build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
python -m pip install --upgrade pip
2929
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
3030
pip install --no-cache-dir -e .
31+
- name: Install NLTK data
32+
run: |
33+
python -m nltk.downloader punkt
34+
python -m nltk.downloader punkt_tab
35+
python -m nltk.downloader stopwords
3136
- name: Re-run notebooks
3237
run: |
3338
find . -iname '*.ipynb' -exec jupyter nbconvert --to notebook --inplace --execute {} \; > out.txt 2>&1

0 commit comments

Comments
 (0)