diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index c5d54bb..6539575 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -1,5 +1,8 @@ name: Publish Package +permissions: + id-token: write + on: push: tags: diff --git a/.readthedocs.yml b/.readthedocs.yml index 3edc7c5..0415292 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,5 +1,26 @@ +# .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.11" + apt_packages: + - graphviz + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: doc/conf.py + +# Install dependencies python: - version: 3.8 - pip_install: true - extra_requirements: - - docs + install: + - method: pip + path: . + extra_requirements: + - docs