diff --git a/.dictionary b/.dictionary new file mode 100644 index 0000000..414d3d6 --- /dev/null +++ b/.dictionary @@ -0,0 +1,2 @@ +Ansible +toc-tree diff --git a/.drone.yml b/.drone.yml index ec633dc..d860d24 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,10 +21,49 @@ steps: commands: - git-batch -- name: build - image: klakegg/hugo:0.69.0-ext-alpine +- name: markdownlint + image: node:lts-alpine commands: - - hugo-official + - npm install -g markdownlint-cli + - markdownlint 'content/**/*.md' 'README.md' -p .gitignore + environment: + FORCE_COLOR: true + NPM_CONFIG_LOGLEVEL: error + +- name: spellcheck + image: node:lts-alpine + commands: + - npm install -g spellchecker-cli + - spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions + environment: + FORCE_COLOR: true + NPM_CONFIG_LOGLEVEL: error + +- name: testbuild + image: klakegg/hugo:0.72.0-ext-alpine + commands: + - hugo-official -s -b http://localhost/ + +- name: link-validation + image: xoxys/link-validator + commands: + - link-validator -ro + environment: + LINK_VALIDATOR_BASE_DIR: public + +- name: build + image: klakegg/hugo:0.72.0-ext-alpine + commands: + - hugo-official -s + +- name: beautify + image: node:lts-alpine + commands: + - npm install -g js-beautify + - html-beautify -r -f 'public/**/*.html' + environment: + FORCE_COLOR: true + NPM_CONFIG_LOGLEVEL: error - name: publish image: plugins/s3-sync diff --git a/.markdownlint.yml b/.markdownlint.yml new file mode 100644 index 0000000..b59a114 --- /dev/null +++ b/.markdownlint.yml @@ -0,0 +1,6 @@ +--- +default: True +MD013: False +MD041: False +MD004: + style: dash diff --git a/README.md b/README.md index d606383..27d26a9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1 @@ # galaxy -