Skip to content

Commit 2838623

Browse files
authored
Merge pull request #49 from couchbaselabs/sarah-fixes-jan-2026
[DOC-13951] Make the Style Guide and Vale Agree
2 parents dee6676 + ce09474 commit 2838623

43 files changed

Lines changed: 657 additions & 364 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ValeStyles/Couchbase/Terminology.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ swap:
4343
file name: filename
4444
file system: filesystem
4545
'(?:fine grained|finegrained)': fine-grained
46+
Forest DB: ForestDB
4647
'(?:freeform|free form)': free-form
4748
'(?:fulltext|full text)': full-text
4849
'(?:geodistributed|geo distributed)': geo-distributed

ValeStyles/Couchbase/UnexplainedAcronym.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ exceptions:
1616
- ASCII
1717
- ASP
1818
- ANY
19+
- AWS
1920
- CALL
2021
- CASE
2122
- CAST

ValeStyles/config/vocabularies/Couchbase/accept.txt

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ API
1010
APIs
1111
App Services
1212
ASCII
13+
Atlassian
1314
automatic schema discovery
1415
auto-sharding
1516
Availability Zone
@@ -44,10 +45,12 @@ CPU
4445
CPUs
4546
curl
4647
Database Change Protocol
47-
datacenter
48+
[Dd]atacenter
4849
DataOps
50+
[Dd]atasheet
4951
DCP
5052
DDL
53+
[Dd]ecrypter
5154
[Dd]eduplicate
5255
DevOps
5356
[Dd]igitization
@@ -57,27 +60,31 @@ Dockerfiles
5760
Dockerfile
5861
Elasticsearch
5962
EMEA
63+
[Ee]ncrypter
6064
Engagement Database
6165
Enterprise Analytics
66+
ePayment
6267
ETL
6368
Event-Condition-Action model
6469
FAQ
6570
FaaS
6671
[Ff]ailover
6772
[Ff]ailovers
68-
Forestdb
73+
ForestDB
6974
FQDN
7075
Full-Text Search
7176
FTS
7277
Geofencing
7378
GitHub
7479
Global Secondary Indexes
7580
Google Cloud Platform
81+
GUID
7682
guid
7783
gzip
7884
HTML
7985
HTAP
8086
HOAP
87+
[Hh]ostname
8188
Hyperscale
8289
IaaS
8390
IndexScan
@@ -99,14 +106,19 @@ KV Service
99106
Last Write Wins
100107
LWW
101108
LCB
109+
libcouchbase
102110
LDAP
111+
[Ll]ivestream
103112
LLM
104113
MapReduce
105114
massively parallel processing
106115
MPP
107116
Memcached bucket
108117
Memcached
118+
[Nn]ameserver
119+
[Nn]ameservers
109120
[Nn]amespace
121+
[Nn]amespaces
110122
Node\.js
111123
npm
112124
nvm
@@ -123,8 +135,10 @@ Omnichannel
123135
optimisticReplicationThreshold
124136
PDF
125137
PLAIN authentication
138+
[Pp]luggable
126139
Pluggable Authentication Modules
127140
PAM
141+
[Pp]reload
128142
[Pp]rovisioned
129143
[Pp]rovisioning
130144
[Pp]rovisions
@@ -145,6 +159,7 @@ Read Committed
145159
[Rr]ebalancing
146160
[Rr]ebalances
147161
[Rr]ebase
162+
[Rr]eindex[ing]
148163
[Rr]epositories
149164
[Rr]eprovision
150165
[Rr]eprovisioned
@@ -164,11 +179,13 @@ Search quer[y|ies]
164179
Search Service
165180
Service Group
166181
Service Groups
167-
SGCollect
182+
sgcollect
168183
Spark Datasets
169184
[Ss]tartup
170185
Structured Streaming
171186
Sub-Document
187+
[Ss]ubquery
188+
[Ss]ubqueries
172189
sudo
173190
[Ss]wappiness
174191
TAP
@@ -192,13 +209,14 @@ UNNEST
192209
vBucket
193210
vBucketMap
194211
vBuckets
195-
VBucketServerMap
212+
vBucketServerMap
196213
Views Service
197214
[Vv]irtualization
198215
[Vv]irtualized
199216
vmstat
200217
VMware
201218
Vue
219+
[Ww]hitepaper
202220
X\.509
203221
XDCR
204222
XML

ValeStyles/config/vocabularies/Couchbase/reject.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ and\/or
33
back end
44
(C\+\+)
55
Columnar
6+
config
67
Couchbase managed cloud
78
data link
89
data provider
10+
Forest DB
911
mapreduce views
1012
map reduce views
1113
note that

styleguide/modules/ROOT/pages/alt-text.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ To write effective alt text:
2020

2121
Describe, plainly, the content of the image.
2222

23-
Imagine that you were trying to describe it to someone who couldn't actually see the image for themselves.
23+
Imagine that you were trying to describe it to someone who could not actually see the image for themselves.
2424
Write a meaningful description that suits the user's context.
2525

2626
[#concise]
2727
== Be Concise
2828

29-
You don't need to describe every detail - unless there's important text that a user needs.
29+
You do not need to describe every detail - unless there's important text that a user needs.
3030

3131
Give the most relevant, important details that a sighted user would get at a glance.
3232
The alt text needs to provide this same information.
@@ -37,17 +37,17 @@ The alt text needs to provide this same information.
3737
Make sure your alt text ends with a period after your last sentence.
3838

3939
[#image-of]
40-
== Don't Include "Image Of"
40+
== Do Not Include "Image Of"
4141

42-
Don't start your alt text with the words "image of."
42+
Do not start your alt text with the words `image of`.
4343

4444
If you need to specify the type of image, such as a diagram or illustration, add that at the end of the alt text.
4545

46-
Screen readers automatically add "image of."
46+
Screen readers automatically add `image of`.
4747

4848
[#icons]
49-
== Don't Add Alt Text To Icons or Decorative Images
49+
== Do Not Add Alt Text To Icons or Decorative Images
5050

51-
If the icon already has a text label, don't add alt text.
51+
If the icon already has a text label, do not add alt text.
5252

53-
If the image is purely decorative and doesn't need to convey anything important to the user, don't add alt text.
53+
If the image is purely decorative and does not need to convey anything important to the user, do not add alt text.

styleguide/modules/ROOT/pages/anchor-links.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
If you need to link to a specific place in a page, whether from another page or on the same page, use an anchor link.
44

5-
NOTE: Don't rely on Antora's automatically generated anchor links.
5+
NOTE: Do not rely on Antora's automatically generated anchor links.
66
If you need to use an anchor link, create your own.
77
This prevents broken links if header content changes.
88

@@ -13,7 +13,7 @@ Aim for no more than 3-5 words maximum.
1313
* Make sure that your anchor links are unique across the page.
1414
* Use all lowercase letters.
1515
* Separate words with dashes.
16-
* Don't add punctuation.
16+
* Do not add punctuation.
1717
1818
For example, an anchor link for the heading *Generate API Keys* could be `[#generate-api-keys]`.
1919

styleguide/modules/ROOT/pages/capitalization.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ Do not use all-uppercase letters except for official names, abbreviations, or re
2121

2222
Do not use camel case, unless the name or code you're referencing uses it.
2323

24-
For capitalization rules for specific terms, refer to the xref:word-list.adoc[].
24+
For capitalization rules for specific terms, see the xref:word-list.adoc[].

styleguide/modules/ROOT/pages/colons.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ Use a colon to introduce an ordered or unordered list.
1010

1111
== Semi-Colons
1212

13-
Try to avoid using a semi-colon. In most cases, a period and a pair of shorter sentences is fine.
13+
Try to avoid using a semi-colon.
14+
In most cases, a period and a pair of shorter sentences is fine.
1415

1516
If you're using a semi-colon to separate complex items in a list, just change the list to an ordered or unordered list.
1617

styleguide/modules/ROOT/pages/commas.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
Use the Oxford comma for inline lists.
44

5-
If an inline list has more than three items, consider using an xref:ordered-list[ordered] or xref:unordered-list.adoc[unordered] list, instead.
5+
If an inline list has more than 3 items, consider using an xref:ordered-list[ordered] or xref:unordered-list.adoc[unordered] list, instead.
66

7-
Vale flags sentences that use more than two commas as potential run-on sentences.
7+
Vale flags sentences that use more than 2 commas as potential run-on sentences.

styleguide/modules/ROOT/pages/contractions.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= Contractions
22

3-
Contractions are combinations of at least two words.
4-
A contraction is made by omitting one or more letters from one word and adding it to the end of another word.
3+
Contractions are combinations of at least 2 words.
4+
A contraction is made by omitting 1 or more letters from 1 word and adding it to the end of another word.
55

66
Many contractions combine a verb and a pronoun.
77

@@ -15,7 +15,7 @@ For example, do not shorten `could not` to `couldn't`.
1515

1616
== Do Not Use Informal Contractions
1717

18-
Do not use informal contractions like "wanna" or "gonna".
18+
Do not use informal contractions like `wanna` or `gonna`.
1919

2020
== Do Not Use Complex Contractions
2121

0 commit comments

Comments
 (0)