diff --git a/.github/workflows/docs-pages.yaml b/.github/workflows/docs-pages.yaml index 6978880a1..766ba77b6 100644 --- a/.github/workflows/docs-pages.yaml +++ b/.github/workflows/docs-pages.yaml @@ -6,6 +6,7 @@ on: push: branches: - master + - 'branch-**' paths: - "docs/**" workflow_dispatch: @@ -15,14 +16,15 @@ jobs: runs-on: ubuntu-latest 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 adca978bb..3bbac1452 100644 --- a/.github/workflows/docs-pr.yaml +++ b/.github/workflows/docs-pr.yaml @@ -14,14 +14,14 @@ jobs: runs-on: ubuntu-latest 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 bd13b16f5..013ff0ff0 100644 --- a/docs/pyproject.toml +++ b/docs/pyproject.toml @@ -12,7 +12,7 @@ recommonmark = "0.7.1" sphinx-autobuild = "2021.3.14" Sphinx = "7.2.6" redirects_cli ="~0.1.2" -sphinx-scylladb-theme = "~1.6.1" +sphinx-scylladb-theme = "~1.7.2" sphinx-multiversion-scylla = "~0.3.1" sphinx-sitemap = "2.5.1"