From 75edee7ed5d1c84ef04017269db681d38635bf8a Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 15 Dec 2023 12:54:14 +0100 Subject: [PATCH] ci: cleanup env vars and fix linting --- .dictionary | 1 - .woodpecker/docs.yml | 5 ++--- docs/_index.md | 2 ++ docs/filters/prefix.md | 1 + docs/filters/wrap.md | 1 + 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.dictionary b/.dictionary index 967d776..8e7fc6a 100644 --- a/.dictionary +++ b/.dictionary @@ -1,3 +1,2 @@ Ansible Kaussow -geekdocFlatSection diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index 40898a6..7bc147e 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -10,16 +10,15 @@ steps: image: quay.io/thegeeklab/markdownlint-cli group: test commands: - - markdownlint 'README.md' 'CONTRIBUTING.md' + - markdownlint 'docs/**/*.md' 'README.md' spellcheck: image: quay.io/thegeeklab/alpine-tools group: test commands: - - spellchecker --files 'docs/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls + - spellchecker --files 'docs/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls frontmatter --frontmatter-keys title tags environment: FORCE_COLOR: "true" - NPM_CONFIG_LOGLEVEL: "error" link-validation: image: docker.io/lycheeverse/lychee diff --git a/docs/_index.md b/docs/_index.md index 5024e59..805a37c 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -6,5 +6,7 @@ geekdocFlatSection: true General custom content collection for Ansible. + {{< toc-tree >}} + diff --git a/docs/filters/prefix.md b/docs/filters/prefix.md index 0887c1b..2aae3b1 100644 --- a/docs/filters/prefix.md +++ b/docs/filters/prefix.md @@ -14,6 +14,7 @@ my_list: ``` Or pass a custom prefix: + ```Yaml my_list: - item1 diff --git a/docs/filters/wrap.md b/docs/filters/wrap.md index 1a1032e..d81747d 100644 --- a/docs/filters/wrap.md +++ b/docs/filters/wrap.md @@ -14,6 +14,7 @@ my_list: ``` Or pass a custom wrapper: + ```Yaml my_list: - item1 -- 2.45.2