From 9b48e01f28a1d271430588ed37191e0577ec5a67 Mon Sep 17 00:00:00 2001 From: David Garcia Date: Tue, 7 May 2024 14:37:55 +0100 Subject: [PATCH] docs: update theme 1.7 --- .github/workflows/docs-pages.yaml | 8 +++++--- .github/workflows/docs-pr.yaml | 6 +++--- docs/pyproject.toml | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs-pages.yaml b/.github/workflows/docs-pages.yaml index 6de93bb8bd..37aabf9014 100644 --- a/.github/workflows/docs-pages.yaml +++ b/.github/workflows/docs-pages.yaml @@ -6,6 +6,7 @@ on: push: branches: - main + - 'branch-**' paths: - "docs/**" workflow_dispatch: @@ -16,14 +17,15 @@ jobs: timeout-minutes: 10 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: + ref: ${{ github.event.repository.default_branch }} persist-credentials: false fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: - python-version: 3.7 + python-version: '3.10' - name: Set up env run: make -C docs setupenv - name: Build docs diff --git a/.github/workflows/docs-pr.yaml b/.github/workflows/docs-pr.yaml index cab2ae26f3..2c2ad8ffb6 100644 --- a/.github/workflows/docs-pr.yaml +++ b/.github/workflows/docs-pr.yaml @@ -16,14 +16,14 @@ jobs: timeout-minutes: 10 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: - python-version: 3.7 + python-version: '3.10' - name: Set up env run: make -C docs setupenv - name: Build docs diff --git a/docs/pyproject.toml b/docs/pyproject.toml index 73c6d42cef..bf6045663b 100644 --- a/docs/pyproject.toml +++ b/docs/pyproject.toml @@ -9,7 +9,7 @@ python = "^3.9" pyyaml = "6.0.1" pygments = "2.15.1" redirects_cli ="~0.1.2" -sphinx-scylladb-theme = "~1.6.1" +sphinx-scylladb-theme = "~1.7.2" sphinx-sitemap = "2.5.1" sphinx-autobuild = "2021.3.14" Sphinx = "7.2.6"