From b83e4f295d91b4d480d925b411a93e9e151790d1 Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 1 Jun 2023 17:34:40 +0200 Subject: [PATCH] Run markdownlint on drone, fix lint issue (#25040) It currently does not run on 1.19 branch, resulting in lint error having landed in https://github.com/go-gitea/gitea/pull/25016. --- .drone.yml | 6 ++++++ docs/content/doc/packages/cran.zh-cn.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index f1432b9c74..1314352432 100644 --- a/.drone.yml +++ b/.drone.yml @@ -963,6 +963,12 @@ trigger: - docs/** steps: + - name: lint-docs + image: node:18 + commands: + - make deps-frontend + - make lint-frontend + - name: build-docs image: golang:1.20 commands: diff --git a/docs/content/doc/packages/cran.zh-cn.md b/docs/content/doc/packages/cran.zh-cn.md index 2823c948ca..fec9a56feb 100644 --- a/docs/content/doc/packages/cran.zh-cn.md +++ b/docs/content/doc/packages/cran.zh-cn.md @@ -90,4 +90,4 @@ install.packages("{package_name}") ```shell install.packages("testpackage") -``` \ No newline at end of file +```