Fix: readthedocs config file (#5)

* Fix readthedocs file

* remove trigger from test workflow
This commit is contained in:
Stan Triepels
2022-10-12 02:06:48 +02:00
committed by GitHub
parent 89dd7608f0
commit f698792f60
3 changed files with 16 additions and 9 deletions

View File

@@ -60,9 +60,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_FLAG_NAME: python-${{ matrix.python-version }}-django-${{ matrix.django }}
COVERALLS_PARALLEL: true
- name: Build docs
run: |
poetry run sphinx-build -b html -d docs/_build/doctrees -nW docs docs/_build/html
finish:
needs: test

16
.readthedocs.yaml Normal file
View File

@@ -0,0 +1,16 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-20.04
tools:
python: "3.9"
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

View File

@@ -1,6 +0,0 @@
build:
image: latest
python:
version: 3.8
setup_py_install: true