From e3eb7746c14db5470032c1b4c346630737dcb1eb Mon Sep 17 00:00:00 2001 From: Lenny Chen Date: Tue, 15 Oct 2024 13:52:50 -0700 Subject: [PATCH] docs: unhyphenate open source --- .../config/vocabularies/spectrocloud-vocab/reject.txt | 3 ++- .../styles/spectrocloud-docs-internal/open-source.yml | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 packages/spectrocloud-docs-internal/styles/spectrocloud-docs-internal/open-source.yml diff --git a/packages/spectrocloud-docs-internal/styles/config/vocabularies/spectrocloud-vocab/reject.txt b/packages/spectrocloud-docs-internal/styles/config/vocabularies/spectrocloud-vocab/reject.txt index dd1740c..379f099 100644 --- a/packages/spectrocloud-docs-internal/styles/config/vocabularies/spectrocloud-vocab/reject.txt +++ b/packages/spectrocloud-docs-internal/styles/config/vocabularies/spectrocloud-vocab/reject.txt @@ -18,4 +18,5 @@ readme Readme OpenShit Palette Extended Kubernetes -local UI \ No newline at end of file +local UI +open-source \ No newline at end of file diff --git a/packages/spectrocloud-docs-internal/styles/spectrocloud-docs-internal/open-source.yml b/packages/spectrocloud-docs-internal/styles/spectrocloud-docs-internal/open-source.yml new file mode 100644 index 0000000..ac5ccee --- /dev/null +++ b/packages/spectrocloud-docs-internal/styles/spectrocloud-docs-internal/open-source.yml @@ -0,0 +1,7 @@ +extends: substitution +message: "Use '%s' instead of '%s'." +level: error +ignorecase: true +swap: + open-source: "open source" + Open-source: "Open source"