Skip to content

Commit f94546a

Browse files
committed
fix(typos): Auto fix typos in 5.8 docs
1 parent 04455ca commit f94546a

File tree

85 files changed

+208
-158
lines changed

Some content is hidden

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

85 files changed

+208
-158
lines changed

DOCS-WRITING-GUIDE-EN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ The configuration docs are generated from source code.
239239
Steps to update:
240240

241241
1. Re-build EMQX (opensource and enterprise edition)
242-
1. Copy the gnerated `md` files to this repo (see commands below)
242+
1. Copy the generated `md` files to this repo (see commands below)
243243
1. Rename the heading-1 of each file
244244
- Configuration Files (for en_US/admin/cfg-*.md)
245245
- 配置文件 (in zh_CN/admin/cfg-*.md)

_typos.toml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
[default]
2+
extend-ignore-re = [
3+
"[A-Fa-f0-9]{8,}", # hexadecimal tokens
4+
"[A-Za-z0-9+/=]{12,}", # base64-like random blobs
5+
"([A-Z0-9]{2,}-){2,}[A-Z0-9]+", # cipher suites (PSK-3DES-EDE-CBC-SHA)
6+
"([A-Za-z]{2,}_){1,}[A-Za-z]+" # snake_case config fields (may contain abbreviations)
7+
]
8+
9+
[default.extend-words]
10+
# EMQX specific terms
11+
emqx = "emqx"
12+
kuiper = "kuiper"
13+
neuron = "neuron"
14+
mqtt = "mqtt"
15+
suback = "suback"
16+
puback = "puback"
17+
qos = "qos"
18+
mosquitto = "mosquitto"
19+
alis = "alis"
20+
wxs = "wxs"
21+
22+
# Technical jargon
23+
k8s = "k8s"
24+
auth = "auth"
25+
repo = "repo"
26+
schemas = "schemas"
27+
28+
# Ordinal numbers
29+
1st = "1st"
30+
2nd = "2nd"
31+
3rd = "3rd"
32+
33+
# Words that appeared in false positives
34+
succee = "succee"
35+
smal = "smal"
36+
siz = "siz"
37+
iif = "iif"
38+
EACG = "EACG"
39+
EDE = "EDE"
40+
HPE = "HPE"
41+
AKS = "AKS"
42+
aks = "aks"
43+
TKE = "TKE"
44+
Sur = "Sur"
45+
46+
[default.extend-identifiers]
47+
iif = "iif"
48+
49+
[files]
50+
extend-exclude = ["redocly", "cfg-manual-docgen"]

dir.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# - A doc node may have edition: ee for enterprise only content
77
#
88
# Grouping node
9-
# - Must have a 'title_en' (English), 'title_cn' (Chinese) is optional wehn no need to translate. e.g. FAQ
9+
# - Must have a 'title_en' (English), 'title_cn' (Chinese) is optional when no need to translate. e.g. FAQ
1010
# - Parent nodes must NOT have a 'path'
1111
#
1212
# Content node can be one of:

en_US/access-control/authz/file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Where,
103103

104104
- `type`: Data source types of authorizer; here is `file`.
105105
- `enable`: Whether to activate the authorizer; optional value: `true`, `false`.
106-
- `path`: Configuration file path; default value: `etc/acl.conf`. If file-based authorizer is editted through Dashboard or REST API, EMQX stores the new file to `data/authz/acl.conf` and stops reading the configuration in the original file.
106+
- `path`: Configuration file path; default value: `etc/acl.conf`. If file-based authorizer is edited through Dashboard or REST API, EMQX stores the new file to `data/authz/acl.conf` and stops reading the configuration in the original file.
107107

108108
<!--For detailed parameter list, see [authz-file](../../configuration/configuration-manual.html#authz-file). Need to update the link later-->
109109

en_US/admin/cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ emqx_a -> topic:t/1 qos:0 nl:0 rh:0 rap:0
365365

366366
### subscriptions add \<ClientId\> \<Topic\> \<QoS\>
367367

368-
Mannually add a subscription.
368+
Manually add a subscription.
369369

370370
```bash
371371
$ emqx ctl subscriptions add emqx_a t/1 1
@@ -1528,7 +1528,7 @@ Currently there are by default 5 registered gateways:
15281528
* mqttsn
15291529
* stomp
15301530
1531-
EMQX is designed to be plugable, so that more gateways can be installed as pluginsand register to EMQX at runtime.
1531+
EMQX is designed to be pluggable, so that more gateways can be installed as pluginsand register to EMQX at runtime.
15321532
Once registered, a gateway can be managed with management APIs and CLIs (see `gateway` command below).
15331533
15341534
## gateway-clients

en_US/changes/auth-4.4-to-5.1-compatibility.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ backend = mongodb
394394

395395
- `srv_record`, `username`, `password`, `auth_source`, `database`, `w_mode`, `topology`, `collection` are retained.
396396

397-
- `r_mode` is availalable only for `rs` type.
397+
- `r_mode` is available only for `rs` type.
398398

399399
- `pool` is changed to `pool_size`.
400400

@@ -1156,7 +1156,7 @@ type = mongodb
11561156
- For `rs`, `sharded` to `servers`
11571157
- For `single` to `server`
11581158
- `srv_record`, `username`, `password`, `auth_source`, `database`, `w_mode`, `topology`, `collection` are retained.
1159-
- `r_mode` is availalable only for `rs` type.
1159+
- `r_mode` is available only for `rs` type.
11601160
- `pool` is changed to `pool_size`.
11611161
- `ssl.*` is changed to common SSL options. Refer to [TLS for External Resource Access](../network/overview.md#tls-for-external-resource-access).
11621162
- `auth_query.selector` is changed to `filter`. The filter should not be a string, but the whole selector data structure. `${var`}-style [placeholders](../access-control/authn/authn.md#authentication-placeholders) may be used in selector values.

en_US/changes/breaking-changes-5.1.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ The previous official plugins have been migrated to EMQX as built-in functions.
153153
| emqx_bridge_mqtt | Data Bridge - MQTT Bridge |
154154
| emqx_web_hook | Data Bridge - HTTP Server |
155155
| emqx_coap | CoAP Gateway |
156-
| emqx_dashboard | Dasboard |
156+
| emqx_dashboard | Dashboard |
157157
| emqx_exhook | ExHook |
158158
| emqx_exproto | ExProto Gateway |
159159
| emqx_lwm2m | LwM2M Gateway |

en_US/changes/breaking-changes-ce-5.4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- [#11994](https://github.com/emqx/emqx/pull/11994) Stopped releasing packages for Windows.
66

7-
- [#11998](https://github.com/emqx/emqx/pull/11998) Stopped releasing packages for MacOS 11 (BigSur).
7+
- [#11998](https://github.com/emqx/emqx/pull/11998) Stopped releasing packages for MacOS 11 (Big Sur).
88

99
- [#12112](https://github.com/emqx/emqx/pull/12112) Stopped supporting UDP multicast based clustering strategy.
1010

en_US/changes/breaking-changes-ce-5.8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
## v5.8.1
2626

27-
- [#13792](https://github.com/emqx/emqx/pull/13792) The default expiration time for a banned item that is created without an `until` value is now `infinity` (previsouly capped at 1 year limit).
27+
- [#13792](https://github.com/emqx/emqx/pull/13792) The default expiration time for a banned item that is created without an `until` value is now `infinity` (previously capped at 1 year limit).
2828

2929
- [#13742](https://github.com/emqx/emqx/pull/13742) Fixed an issue when a client would receive retained messages for a topic starting with `$` when it subscribed to topic `#` or `+`.
3030

en_US/changes/breaking-changes-ee-5.4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## e5.4.0
44

5-
- [#11998](https://github.com/emqx/emqx/pull/11998) Stopped releasing packages for MacOS 11 (BigSur).
5+
- [#11998](https://github.com/emqx/emqx/pull/11998) Stopped releasing packages for MacOS 11 (Big Sur).
66

77
- [#12112](https://github.com/emqx/emqx/pull/12112) Stopped supporting UDP multicast based clustering strategy.
88

0 commit comments

Comments
 (0)