From 6a47bc6748d30d89221ec7e37e0476f3a8c270d6 Mon Sep 17 00:00:00 2001 From: Niels Henrik Hagen Date: Wed, 19 Jun 2024 09:43:03 +0200 Subject: [PATCH] refactor: Use Vale 3.x directory layout In order to upgrade to Vale 3.x vocabularies must be moved into `/config/vocabularies`. See [Vale.sh / Vocabularies - Folder structure](https://vale.sh/docs/topics/vocab/#folder-structure) for more information. A symlink from `/Vocab` to `/config/vocabularies` provides backwards compatibility with Vale 2.x while teams upgrade their tools. --- Coop/styles/Vocab | 1 + .../{Vocab => config/vocabularies}/CoopAbbreviations/accept.txt | 0 .../{Vocab => config/vocabularies}/CoopAbbreviations/reject.txt | 0 .../{Vocab => config/vocabularies}/CoopCompanies/accept.txt | 0 .../{Vocab => config/vocabularies}/CoopCompanies/reject.txt | 0 .../{Vocab => config/vocabularies}/CoopGeneral/accept.txt | 0 .../{Vocab => config/vocabularies}/CoopGeneral/reject.txt | 0 .../{Vocab => config/vocabularies}/CoopLocations/accept.txt | 0 .../{Vocab => config/vocabularies}/CoopLocations/reject.txt | 0 .../{Vocab => config/vocabularies}/CoopSystems/accept.txt | 0 .../{Vocab => config/vocabularies}/CoopSystems/reject.txt | 0 Coop/styles/{Vocab => config/vocabularies}/CoopTech/accept.txt | 0 Coop/styles/{Vocab => config/vocabularies}/CoopTech/reject.txt | 0 Coop/styles/{Vocab => config/vocabularies}/CoopTerms/accept.txt | 0 Coop/styles/{Vocab => config/vocabularies}/CoopTerms/reject.txt | 0 docs/test.md | 2 ++ 16 files changed, 3 insertions(+) create mode 120000 Coop/styles/Vocab rename Coop/styles/{Vocab => config/vocabularies}/CoopAbbreviations/accept.txt (100%) rename Coop/styles/{Vocab => config/vocabularies}/CoopAbbreviations/reject.txt (100%) rename Coop/styles/{Vocab => config/vocabularies}/CoopCompanies/accept.txt (100%) rename Coop/styles/{Vocab => config/vocabularies}/CoopCompanies/reject.txt (100%) rename Coop/styles/{Vocab => config/vocabularies}/CoopGeneral/accept.txt (100%) rename Coop/styles/{Vocab => config/vocabularies}/CoopGeneral/reject.txt (100%) rename Coop/styles/{Vocab => config/vocabularies}/CoopLocations/accept.txt (100%) rename Coop/styles/{Vocab => config/vocabularies}/CoopLocations/reject.txt (100%) rename Coop/styles/{Vocab => config/vocabularies}/CoopSystems/accept.txt (100%) rename Coop/styles/{Vocab => config/vocabularies}/CoopSystems/reject.txt (100%) rename Coop/styles/{Vocab => config/vocabularies}/CoopTech/accept.txt (100%) rename Coop/styles/{Vocab => config/vocabularies}/CoopTech/reject.txt (100%) rename Coop/styles/{Vocab => config/vocabularies}/CoopTerms/accept.txt (100%) rename Coop/styles/{Vocab => config/vocabularies}/CoopTerms/reject.txt (100%) diff --git a/Coop/styles/Vocab b/Coop/styles/Vocab new file mode 120000 index 0000000..33d9292 --- /dev/null +++ b/Coop/styles/Vocab @@ -0,0 +1 @@ +config/vocabularies \ No newline at end of file diff --git a/Coop/styles/Vocab/CoopAbbreviations/accept.txt b/Coop/styles/config/vocabularies/CoopAbbreviations/accept.txt similarity index 100% rename from Coop/styles/Vocab/CoopAbbreviations/accept.txt rename to Coop/styles/config/vocabularies/CoopAbbreviations/accept.txt diff --git a/Coop/styles/Vocab/CoopAbbreviations/reject.txt b/Coop/styles/config/vocabularies/CoopAbbreviations/reject.txt similarity index 100% rename from Coop/styles/Vocab/CoopAbbreviations/reject.txt rename to Coop/styles/config/vocabularies/CoopAbbreviations/reject.txt diff --git a/Coop/styles/Vocab/CoopCompanies/accept.txt b/Coop/styles/config/vocabularies/CoopCompanies/accept.txt similarity index 100% rename from Coop/styles/Vocab/CoopCompanies/accept.txt rename to Coop/styles/config/vocabularies/CoopCompanies/accept.txt diff --git a/Coop/styles/Vocab/CoopCompanies/reject.txt b/Coop/styles/config/vocabularies/CoopCompanies/reject.txt similarity index 100% rename from Coop/styles/Vocab/CoopCompanies/reject.txt rename to Coop/styles/config/vocabularies/CoopCompanies/reject.txt diff --git a/Coop/styles/Vocab/CoopGeneral/accept.txt b/Coop/styles/config/vocabularies/CoopGeneral/accept.txt similarity index 100% rename from Coop/styles/Vocab/CoopGeneral/accept.txt rename to Coop/styles/config/vocabularies/CoopGeneral/accept.txt diff --git a/Coop/styles/Vocab/CoopGeneral/reject.txt b/Coop/styles/config/vocabularies/CoopGeneral/reject.txt similarity index 100% rename from Coop/styles/Vocab/CoopGeneral/reject.txt rename to Coop/styles/config/vocabularies/CoopGeneral/reject.txt diff --git a/Coop/styles/Vocab/CoopLocations/accept.txt b/Coop/styles/config/vocabularies/CoopLocations/accept.txt similarity index 100% rename from Coop/styles/Vocab/CoopLocations/accept.txt rename to Coop/styles/config/vocabularies/CoopLocations/accept.txt diff --git a/Coop/styles/Vocab/CoopLocations/reject.txt b/Coop/styles/config/vocabularies/CoopLocations/reject.txt similarity index 100% rename from Coop/styles/Vocab/CoopLocations/reject.txt rename to Coop/styles/config/vocabularies/CoopLocations/reject.txt diff --git a/Coop/styles/Vocab/CoopSystems/accept.txt b/Coop/styles/config/vocabularies/CoopSystems/accept.txt similarity index 100% rename from Coop/styles/Vocab/CoopSystems/accept.txt rename to Coop/styles/config/vocabularies/CoopSystems/accept.txt diff --git a/Coop/styles/Vocab/CoopSystems/reject.txt b/Coop/styles/config/vocabularies/CoopSystems/reject.txt similarity index 100% rename from Coop/styles/Vocab/CoopSystems/reject.txt rename to Coop/styles/config/vocabularies/CoopSystems/reject.txt diff --git a/Coop/styles/Vocab/CoopTech/accept.txt b/Coop/styles/config/vocabularies/CoopTech/accept.txt similarity index 100% rename from Coop/styles/Vocab/CoopTech/accept.txt rename to Coop/styles/config/vocabularies/CoopTech/accept.txt diff --git a/Coop/styles/Vocab/CoopTech/reject.txt b/Coop/styles/config/vocabularies/CoopTech/reject.txt similarity index 100% rename from Coop/styles/Vocab/CoopTech/reject.txt rename to Coop/styles/config/vocabularies/CoopTech/reject.txt diff --git a/Coop/styles/Vocab/CoopTerms/accept.txt b/Coop/styles/config/vocabularies/CoopTerms/accept.txt similarity index 100% rename from Coop/styles/Vocab/CoopTerms/accept.txt rename to Coop/styles/config/vocabularies/CoopTerms/accept.txt diff --git a/Coop/styles/Vocab/CoopTerms/reject.txt b/Coop/styles/config/vocabularies/CoopTerms/reject.txt similarity index 100% rename from Coop/styles/Vocab/CoopTerms/reject.txt rename to Coop/styles/config/vocabularies/CoopTerms/reject.txt diff --git a/docs/test.md b/docs/test.md index 1284272..48119eb 100644 --- a/docs/test.md +++ b/docs/test.md @@ -13,6 +13,8 @@ Example using lowercase in a angle-bracket link. Example using `idp` lowercase in an inline block. +Example using IDP uppercase (the right way). + ```go Example using idp in a code block. ```