Skip to content

Commit

Permalink
Fix readthedocs errors
Browse files Browse the repository at this point in the history
* Don't build pdfs in readthedocs

* Update .readthedocs.yml

* Update ci.yml
  • Loading branch information
LilSpazJoekp committed Nov 27, 2020
1 parent d9b61d3 commit ad443d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Run pydocstyle
run: pydocstyle asyncpraw
- name: Run sphinx
run: sphinx-build -W --keep-going docs/ /tmp/foo
run: sphinx-build --keep-going docs/ /tmp/foo
strategy:
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Run pydocstyle
run: pydocstyle asyncpraw
- name: Run sphinx
run: sphinx-build -W --keep-going docs/ /tmp/foo
run: sphinx-build --keep-going docs/ /tmp/foo
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
Expand Down
21 changes: 7 additions & 14 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
version: 2

formats:
- htmlzip
- pdf

python:
version: 3.6
install:
- method: pip
path: .
extra_requirements:
- lint
system_packages: true

sphinx:
configuration: docs/conf.py
install:
- method: pip
extra_requirements:
- lint
path: .
version: 3.8
version: 2

0 comments on commit ad443d6

Please sign in to comment.