diff --git a/.markdownlint.yaml b/.markdownlint.yaml deleted file mode 100644 index 8ece4c761..000000000 --- a/.markdownlint.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -MD013: false -MD029: false diff --git a/.md_style.rb b/.md_style.rb new file mode 100644 index 000000000..73adf8ae4 --- /dev/null +++ b/.md_style.rb @@ -0,0 +1,4 @@ +all +exclude_rule 'MD013' +exclude_rule 'MD029' +rule 'MD007', :indent => 2 diff --git a/.mdlrc b/.mdlrc new file mode 100644 index 000000000..8ca55a8ce --- /dev/null +++ b/.mdlrc @@ -0,0 +1 @@ +style "#{File.dirname(__FILE__)}/.md_style.rb" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5b2f78f7a..d79a716ad 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,8 +24,7 @@ repos: rev: v0.11.0 hooks: - id: markdownlint - args: [-r, "~MD013,~MD029"] - exclude: "^.git" + exclude: "^.github|(^docs/_sidebar\\.md$)" - repo: https://github.com/shellcheck-py/shellcheck-py rev: v0.10.0.1 diff --git a/docs/cloud_providers/openstack.md b/docs/cloud_providers/openstack.md index 6f53da534..1506be370 100644 --- a/docs/cloud_providers/openstack.md +++ b/docs/cloud_providers/openstack.md @@ -1,4 +1,3 @@ - # OpenStack ## Known compatible public clouds diff --git a/docs/operations/recover-control-plane.md b/docs/operations/recover-control-plane.md index c54808b41..d54aa13f5 100644 --- a/docs/operations/recover-control-plane.md +++ b/docs/operations/recover-control-plane.md @@ -1,4 +1,3 @@ - # Recovering the control plane To recover from broken nodes in the control plane use the "recover\-control\-plane.yml" playbook.