Skip to content

Commit 7366f60

Browse files
authored
Fix stale docs links and unblock CI (#1163)
Signed-off-by: Xi Lu <fridalu66@gmail.com>
1 parent 2146d3b commit 7366f60

19 files changed

Lines changed: 52 additions & 47 deletions

.github/vale/styles/OpenSearch/AcronymParentheses.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: conditional
22
message: "'%s': Spell out acronyms the first time that you use them on a page and follow them with the acronym in parentheses. Subsequently, use the acronym alone."
3-
link: 'https://github.com/opensearch-project/documentation-website/blob/main/STYLE_GUIDE.md#acronyms'
3+
link: 'https://github.com/opensearch-project/documentation-website/blob/main/style-guide/STYLE_GUIDE.md#acronyms'
44
level: warning
55
scope: summary
66
ignorecase: false
@@ -72,4 +72,4 @@ exceptions:
7272
- UTC
7373
- UTF
7474
- XML
75-
- YAML
75+
- YAML

.github/vale/styles/OpenSearch/DirectionAboveBelow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: substitution
22
message: "Use '%s' instead of '%s' for versions or orientation within a document. Use 'above' and 'below' only for physical space or screen descriptions."
3-
link: 'https://github.com/opensearch-project/documentation-website/blob/main/TERMS.md'
3+
link: 'https://github.com/opensearch-project/documentation-website/blob/main/style-guide/TERMS.md'
44
level: warning
55
ignorecase: true
66
swap:

.github/vale/styles/OpenSearch/DirectionTopBottom.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: substitution
22
message: "Use '%s' instead of '%s' for window, page, or pane references to features or controls. Use 'top' and 'bottom' only as a general screen reference."
3-
link: 'https://github.com/opensearch-project/documentation-website/blob/main/TERMS.md'
3+
link: 'https://github.com/opensearch-project/documentation-website/blob/main/style-guide/TERMS.md'
44
level: warning
55
ignorecase: true
66
action:
@@ -13,4 +13,4 @@ swap:
1313
- top-left: upper-left
1414
- bottom-left: lower-left
1515
- top-right: upper-right
16-
- bottom-right: lower-right
16+
- bottom-right: lower-right

.github/vale/styles/OpenSearch/Inclusive.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: substitution
22
message: "Use '%s' instead of '%s' because the latter is an offensive term."
3-
link: https://github.com/opensearch-project/documentation-website/blob/main/STYLE_GUIDE.md#offensive-terms
3+
link: https://github.com/opensearch-project/documentation-website/blob/main/style-guide/STYLE_GUIDE.md#offensive-terms
44
ignorecase: true
55
level: error
66
swap:

.github/vale/styles/OpenSearch/LatinismsElimination.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: existence
22
message: "Using '%s' is unnecessary. Remove."
3-
link: https://github.com/opensearch-project/documentation-website/blob/main/STYLE_GUIDE.md#basic-guidelines
3+
link: https://github.com/opensearch-project/documentation-website/blob/main/style-guide/STYLE_GUIDE.md#basic-guidelines
44
ignorecase: true
55
nonword: true
66
level: warning

.github/vale/styles/OpenSearch/LatinismsSubstitution.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: substitution
22
message: "Use '%s' instead of '%s'."
3-
link: https://github.com/opensearch-project/documentation-website/blob/main/STYLE_GUIDE.md#basic-guidelines
3+
link: https://github.com/opensearch-project/documentation-website/blob/main/style-guide/STYLE_GUIDE.md#basic-guidelines
44
ignorecase: false
55
level: warning
66
nonword: true
@@ -12,4 +12,4 @@ swap:
1212
'\bad hoc[\s,.]': one-time
1313
'\b(?:v\.|vs\.|vs|versus)\s': compared to or compared with
1414
'\bvia\s': using, through, by accessing, or by choosing
15-
'\bvice versa': the other way around
15+
'\bvice versa': the other way around

.github/vale/styles/OpenSearch/Please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: existence
22
message: "Using '%s' is unnecessary. Remove."
3-
link: https://github.com/opensearch-project/documentation-website/blob/main/TERMS.md
3+
link: https://github.com/opensearch-project/documentation-website/blob/main/style-guide/TERMS.md
44
ignorecase: true
55
level: warning
66
action:

.github/vale/styles/OpenSearch/Range.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: existence
22
message: Use an en dash (--) with no space on either side in a range of numbers.
3-
link: https://github.com/opensearch-project/documentation-website/blob/main/STYLE_GUIDE.md#numbers-and-measurement
3+
link: https://github.com/opensearch-project/documentation-website/blob/main/style-guide/STYLE_GUIDE.md#numbers-and-measurement
44
nonword: true
55
level: error
66
tokens:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
extends: substitution
22
message: "'%s': Use 'AWS Signature Version 4' instead of '%s' on first appearance. Then, Signature Version 4 may be used. Only use SigV4 when space is limited."
33
ignorecase: true
4-
link: 'https://github.com/opensearch-project/documentation-website/blob/main/TERMS.md'
4+
link: 'https://github.com/opensearch-project/documentation-website/blob/main/style-guide/TERMS.md'
55
level: warning
66
action:
77
name: replace
88
swap:
99
sigv4: Signature Version 4
1010
AWS sigv4: AWS Signature Version 4
11-
11+

.github/vale/styles/OpenSearch/Simple.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: existence
22
message: "Don't use '%s' because it's not neutral in tone. If you mean 'only', use 'only' instead."
3-
link: https://github.com/opensearch-project/documentation-website/blob/main/TERMS.md
3+
link: https://github.com/opensearch-project/documentation-website/blob/main/style-guide/TERMS.md
44
ignorecase: true
55
level: warning
66
action:

0 commit comments

Comments
 (0)