From f698792f60fb49c46bc090bd18a18a669d72d82b Mon Sep 17 00:00:00 2001 From: Stan Triepels <1939656+GDay@users.noreply.github.com> Date: Wed, 12 Oct 2022 02:06:48 +0200 Subject: [PATCH] Fix: readthedocs config file (#5) * Fix readthedocs file * remove trigger from test workflow --- .github/workflows/test.yml | 3 --- .readthedocs.yaml | 16 ++++++++++++++++ .readthedocs.yml | 6 ------ 3 files changed, 16 insertions(+), 9 deletions(-) create mode 100644 .readthedocs.yaml delete mode 100644 .readthedocs.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7ffe68c..6f0bfc0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..61086de --- /dev/null +++ b/.readthedocs.yaml @@ -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 diff --git a/.readthedocs.yml b/.readthedocs.yml deleted file mode 100644 index 1908273..0000000 --- a/.readthedocs.yml +++ /dev/null @@ -1,6 +0,0 @@ -build: - image: latest - -python: - version: 3.8 - setup_py_install: true \ No newline at end of file