allow to use input run locally #181
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
branches: | |
- development | |
jobs: | |
build-doc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get install -y python3-pip | |
pip install sphinx furo myst-parser sphinx-toolbox | |
pip install pandas pyterrier ir_datasets | |
cd python-client/sphinx | |
# sphinx-apidoc -o . ../tira | |
make doctest | |
make html | |
touch _build/html/.nojekyll | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: python-client/sphinx/_build/html | |
target-folder: nightly |