From 2539674aa946e1aa1ebe7f8892f0eb02a07861aa Mon Sep 17 00:00:00 2001 From: Venaturum Date: Thu, 6 Jul 2023 20:28:49 +1000 Subject: [PATCH 1/3] Update publish-pypi.yml --- .github/workflows/publish-pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 8fec603..d4e8571 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -20,6 +20,6 @@ jobs: - name: Build package run: poetry build - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + password: ${{ secrets.PYPI_API_TOKEN }} From f99543b0be0007bbddf59f101898a77d2ef88ba1 Mon Sep 17 00:00:00 2001 From: staircase-dev <79814508+staircase-dev@users.noreply.github.com> Date: Thu, 6 Jul 2023 20:37:28 +1000 Subject: [PATCH 2/3] Update publish-pypi.yml --- .github/workflows/publish-pypi.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index d4e8571..d9f7eb1 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -1,6 +1,7 @@ name: Upload to PYPI on: + workflow_dispatch: release: types: [created] From 8767230ffa634a3b8471bfc05e9f7ac2a940efb6 Mon Sep 17 00:00:00 2001 From: staircase-dev Date: Tue, 18 Jul 2023 12:26:53 +1000 Subject: [PATCH 3/3] added read the docs yaml --- .readthedocs.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..d41c6d9 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,20 @@ +# .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-22.04 + tools: + python: "3.10" + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/conf.py + +python: + install: + - requirements: docs/requirements.txt