diff --git a/.github/workflows/pypiupload.yml b/.github/workflows/pypiupload.yml index 874a32b4..d8fee157 100644 --- a/.github/workflows/pypiupload.yml +++ b/.github/workflows/pypiupload.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: [2.7, 3.x] + python-version: [2.7, 3.7] steps: - uses: actions/checkout@v2.3.4 @@ -34,9 +34,9 @@ jobs: - name: Build run: | python setup.py bdist_wheel - - name: Build Sources (3.x) + - name: Build Sources (Python 3) run: python setup.py sdist - if: matrix.python-version == '3.x' + if: ${{ matrix.python-version != '2.7' }} - name: Publish env: TWINE_USERNAME: __token__ diff --git a/.readthedocs.yml b/.readthedocs.yml index 3aa8a563..8f1d4411 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,5 +1,13 @@ -# .readthedocs.yml +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details -# Don't build any extra formats -# https://docs.readthedocs.io/en/latest/yaml-config.html#formats -formats: [] +version: 2 + +build: + os: ubuntu-20.04 + tools: + python: "3.7" + +sphinx: + configuration: docs/conf.py diff --git a/docs/conf.py b/docs/conf.py index 76ffb570..0766dc48 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -54,7 +54,7 @@ # General information about the project. project = u'Dropbox for Python' -copyright = u'2015-2019, Dropbox, Inc.' +copyright = u'2015-2024, Dropbox, Inc.' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the