From 01cf4ef64dc68a75605688f0ba90ec7e985485d8 Mon Sep 17 00:00:00 2001 From: Alex Marshall Date: Thu, 20 Apr 2023 11:49:35 +0100 Subject: [PATCH] ci(github): remove readthedocs check and replace with vercel DOPS-27 Signed-off-by: Alex Marshall --- .github/settings.yml | 1 - .pre-commit-config.yaml | 16 ++++++++-------- .readthedocs.yaml | 14 -------------- vercel.json | 8 ++++++++ 4 files changed, 16 insertions(+), 23 deletions(-) delete mode 100644 .readthedocs.yaml create mode 100644 vercel.json diff --git a/.github/settings.yml b/.github/settings.yml index e90cb56..ed7ff17 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -129,7 +129,6 @@ branches: - SonarCloud Code Analysis - License Compliance - continuous-integration/jenkins/pr-head - - docs/readthedocs.com:btp-daml-on-besu # Required. Enforce all configured restrictions for administrators. Set # to true to enforce required status checks for repository administrators. # Set to null to disable. diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3bda9b9..3711fa5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ default_language_version: python: python3 repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -27,16 +27,16 @@ repos: - '^(?!((fix|feature|refactor)\/[a-zA-Z0-9\-]+)$).*' - id: trailing-whitespace - repo: https://github.com/commitizen-tools/commitizen - rev: v2.31.0 + rev: v2.42.1 hooks: - id: commitizen stages: [commit-msg] - repo: https://github.com/gruntwork-io/pre-commit - rev: v0.1.17 + rev: v0.1.20 hooks: - id: helmlint - repo: https://github.com/gherynos/pre-commit-java - rev: v0.2.0 + rev: v0.2.4 hooks: - id: checkstyle args: @@ -65,15 +65,15 @@ repos: - "2" - -ci - repo: https://github.com/markdownlint/markdownlint - rev: v0.11.0 + rev: v0.12.0 hooks: - id: markdownlint - repo: https://github.com/pre-commit/mirrors-eslint - rev: v8.22.0 + rev: v8.38.0 hooks: - id: eslint - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.3.0 + rev: v1.5.1 hooks: - id: forbid-tabs exclude: "^(.*/?Makefile|.*.mk|.*.go)$" @@ -89,7 +89,7 @@ repos: - id: fmt - id: cargo-check - repo: https://github.com/adrienverge/yamllint - rev: v1.27.1 + rev: v1.30.0 hooks: - id: yamllint exclude: ".*/templates/.*" diff --git a/.readthedocs.yaml b/.readthedocs.yaml deleted file mode 100644 index a04a50f..0000000 --- a/.readthedocs.yaml +++ /dev/null @@ -1,14 +0,0 @@ -# .readthedocs.yaml -# Read the Docs configuration file -# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details - -# Required -version: 2 - -mkdocs: - configuration: mkdocs.yml - -python: - version: "3.8" - install: - - requirements: docs/versions.txt diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..fbc299f --- /dev/null +++ b/vercel.json @@ -0,0 +1,8 @@ +{ + "installCommand": "pip install -r docs/versions.txt", + "outputDirectory": "site", + "buildCommand": "mkdocs build", + "github": { + "silent": true + } +}