From c0d8d55a411493f666c2130d367be9a87b1319fa Mon Sep 17 00:00:00 2001 From: David Garcia Date: Tue, 7 May 2024 14:57:31 +0100 Subject: [PATCH 1/2] docs: update theme 1.7 docs: update theme 1.7 --- .github/workflows/docs-amplify-enhanced.yaml | 17 ---------- .github/workflows/docs-links.yaml | 34 -------------------- .github/workflows/docs-pages.yaml | 3 +- .github/workflows/docs-pr.yaml | 3 +- .lycheeignore | 1 - amplify.yaml | 15 --------- docs/pyproject.toml | 2 +- 7 files changed, 5 insertions(+), 70 deletions(-) delete mode 100644 .github/workflows/docs-amplify-enhanced.yaml delete mode 100644 .github/workflows/docs-links.yaml delete mode 100644 .lycheeignore delete mode 100644 amplify.yaml diff --git a/.github/workflows/docs-amplify-enhanced.yaml b/.github/workflows/docs-amplify-enhanced.yaml deleted file mode 100644 index 05df109..0000000 --- a/.github/workflows/docs-amplify-enhanced.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: "Docs / Amplify enhanced" - -on: issue_comment - -jobs: - build: - runs-on: ubuntu-latest - if: ${{ github.event.issue.pull_request }} - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Amplify enhanced - env: - TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: scylladb/sphinx-scylladb-theme/.github/actions/amplify-enhanced@master \ No newline at end of file diff --git a/.github/workflows/docs-links.yaml b/.github/workflows/docs-links.yaml deleted file mode 100644 index a746fc7..0000000 --- a/.github/workflows/docs-links.yaml +++ /dev/null @@ -1,34 +0,0 @@ -name: "Docs / Links" -# For more information, -# see https://sphinx-theme.scylladb.com/stable/deployment/production.html#available-workflows - -on: - workflow_dispatch: - schedule: - - cron: "0 0 * * 0" # At 00:00 on Sunday - -jobs: - linkChecker: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - persist-credentials: false - fetch-depth: 0 - - - name: Link Checker - id: lychee - uses: lycheeverse/lychee-action@v1.3.2 - with: - args: --verbose --no-progress './**/*.md' './**/*.rst' - env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - - - name: Create Issue From File - if: ${{ steps.lychee.outputs.exit_code != 0 }} - uses: peter-evans/create-issue-from-file@v3 - with: - title: Link Checker Report - content-filepath: ./lychee/out.md - labels: report, automated issue \ No newline at end of file diff --git a/.github/workflows/docs-pages.yaml b/.github/workflows/docs-pages.yaml index 7ababf0..bdfed79 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: @@ -23,7 +24,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.7 + python-version: '3.10' - name: Set up env run: make -C docs setupenv diff --git a/.github/workflows/docs-pr.yaml b/.github/workflows/docs-pr.yaml index a54d931..ae930b2 100644 --- a/.github/workflows/docs-pr.yaml +++ b/.github/workflows/docs-pr.yaml @@ -6,6 +6,7 @@ on: pull_request: branches: - main + - 'branch-**' paths: - "docs/**" @@ -21,7 +22,7 @@ jobs: - name: Set up Python 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/.lycheeignore b/.lycheeignore deleted file mode 100644 index cf6cbf9..0000000 --- a/.lycheeignore +++ /dev/null @@ -1 +0,0 @@ -http://localhost:8000 diff --git a/amplify.yaml b/amplify.yaml deleted file mode 100644 index 5b31cb6..0000000 --- a/amplify.yaml +++ /dev/null @@ -1,15 +0,0 @@ -version: 1 -applications: - - frontend: - phases: - build: - commands: - - make setupenv - - make dirhtml - artifacts: - baseDirectory: _build/dirhtml - files: - - '**/*' - cache: - paths: [] - appRoot: docs \ No newline at end of file diff --git a/docs/pyproject.toml b/docs/pyproject.toml index 6b96d00..6ae4847 100644 --- a/docs/pyproject.toml +++ b/docs/pyproject.toml @@ -8,7 +8,7 @@ authors = ["ScyllaDB Documentation Contributors"] python = "^3.9" pyyaml = "6.0.1" pygments = "2.15.1" -sphinx-scylladb-theme = "~1.6.1" +sphinx-scylladb-theme = "~1.7.2" sphinx-autobuild = "2021.3.14" Sphinx = "7.2.6" sphinx-multiversion-scylla = "~0.3.1" From 221fe997925696486df9ad0e91de653bee925481 Mon Sep 17 00:00:00 2001 From: David Garcia Date: Tue, 7 May 2024 15:02:30 +0100 Subject: [PATCH 2/2] docs: update theme 1.7 --- .github/workflows/docs-pr.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/docs-pr.yaml b/.github/workflows/docs-pr.yaml index ae930b2..617dd84 100644 --- a/.github/workflows/docs-pr.yaml +++ b/.github/workflows/docs-pr.yaml @@ -6,7 +6,6 @@ on: pull_request: branches: - main - - 'branch-**' paths: - "docs/**"