Skip to content

Commit 0be25c5

Browse files
authored
Fix auto sphinx docs generation (#69)
1 parent dd7da71 commit 0be25c5

Some content is hidden

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

48 files changed

+14616
-3541
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,20 @@ jobs:
2222
key: ${{ runner.os }}-poetry-${{ hashFiles(format('{0}{1}', github.workspace, '/poetry.lock')) }}
2323
restore-keys: |
2424
${{ runner.os }}-poetry-
25-
- name: Install dependencies (allow "failures" and attempt to continue)
25+
- name: Install dependencies
2626
run: |
2727
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
28-
$HOME/.poetry/bin/poetry install -vv || true
28+
source $HOME/.poetry/env
29+
poetry config virtualenvs.create false
30+
poetry install -vv
2931
sudo apt-get install python3-sphinx
3032
- name: Build docs
3133
run: |
3234
sphinx-build --version
35+
source $HOME/.poetry/env
36+
export PYTHONPATH="${PYTHONPATH}:${{ env.pythonLocation }}/lib/python3.6/site-packages"
3337
cd docs
34-
$HOME/.poetry/bin/poetry run make html
38+
poetry run make html
3539
cd ..
3640
3741
- uses: stefanzweifel/[email protected]

docs/_build/doctrees/auth.doctree

-1.16 KB
Binary file not shown.
-16.2 KB
Binary file not shown.

docs/_build/doctrees/file.doctree

-553 Bytes
Binary file not shown.

docs/_build/doctrees/index.doctree

-59 Bytes
Binary file not shown.
-24.8 KB
Binary file not shown.

docs/_build/doctrees/jobs.doctree

-3.14 KB
Binary file not shown.
-9.66 KB
Binary file not shown.
-6.18 KB
Binary file not shown.

docs/_build/doctrees/tools.doctree

-103 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)