From 7c17a3ae407ab28ce54b1ff82899b4990fc7a0d1 Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Wed, 18 Mar 2026 14:34:52 +0100 Subject: [PATCH 1/2] ci: add rtd workflow --- .gitea/workflows/rtd_deploy.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitea/workflows/rtd_deploy.yml diff --git a/.gitea/workflows/rtd_deploy.yml b/.gitea/workflows/rtd_deploy.yml new file mode 100644 index 0000000..e01bb6a --- /dev/null +++ b/.gitea/workflows/rtd_deploy.yml @@ -0,0 +1,21 @@ +name: Read the Docs Deploy Trigger + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + trigger-rtd-webhook: + runs-on: ubuntu-latest + steps: + - name: Trigger Read the Docs webhook + env: + RTD_TOKEN: ${{ secrets.RTD_TOKEN }} + run: | + curl --fail --show-error --silent \ + -X POST \ + -d "branches=${{ github.ref_name }}" \ + -d "token=${RTD_TOKEN}" \ + "https://readthedocs.org/api/v2/webhook/sls-csaxs/270162/" -- 2.52.0 From 87163cc3f1d2987c8e120e66c7574cc27f31a715 Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Wed, 18 Mar 2026 14:35:42 +0100 Subject: [PATCH 2/2] docs: run build on py 3-12 --- .readthedocs.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 183912c..b3d945e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -8,15 +8,14 @@ version: 2 build: os: ubuntu-20.04 tools: - python: "3.10" + python: "3.12" jobs: pre_install: - pip install . - # Build documentation in the docs/ directory with Sphinx sphinx: - configuration: docs/conf.py + configuration: docs/conf.py # If using Sphinx, optionally build your docs in additional formats such as PDF # formats: @@ -24,6 +23,5 @@ sphinx: # Optionally declare the Python requirements required to build your docs python: - install: - - requirements: docs/requirements.txt - + install: + - requirements: docs/requirements.txt -- 2.52.0