From 5e79ff098e549deaf2c5cf16319d74f0abc344d2 Mon Sep 17 00:00:00 2001 From: Ruaridh <86845749+RooRay@users.noreply.github.com> Date: Sat, 4 Jan 2025 17:14:21 +0000 Subject: [PATCH 01/10] Create spellcheck.yml --- .github/workflows/spellcheck.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/spellcheck.yml diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml new file mode 100644 index 0000000..5826885 --- /dev/null +++ b/.github/workflows/spellcheck.yml @@ -0,0 +1,17 @@ +name: "Spell Check" + +on: + - push + - pull_request + +jobs: + check: + # run on all push events or on PR syncs not from the same repo + if: github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name + + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Spell check + uses: crate-ci/typos@v1.24.6 From 3cb980bc409e53ecf3bcb423c55f42a5b88f84bd Mon Sep 17 00:00:00 2001 From: Ruaridh <86845749+RooRay@users.noreply.github.com> Date: Sat, 4 Jan 2025 17:41:05 +0000 Subject: [PATCH 02/10] Create typos.toml --- typos.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 typos.toml diff --git a/typos.toml b/typos.toml new file mode 100644 index 0000000..6521adf --- /dev/null +++ b/typos.toml @@ -0,0 +1,12 @@ +# Used by the typos action + +[files] +extend-exclude = [ + "overrides" # not words +] + +[default] +locale = "en-gb" + +[files] +extend-exclude = ["*.txt", "*.toml", "*.yaml", "*.yml", "*.js", "*.html", '*.css"] From 9dee946708303599fa09b1261efa88a342049ce7 Mon Sep 17 00:00:00 2001 From: Ruaridh <86845749+RooRay@users.noreply.github.com> Date: Sat, 4 Jan 2025 17:42:51 +0000 Subject: [PATCH 03/10] Update typos.toml --- typos.toml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/typos.toml b/typos.toml index 6521adf..27896a1 100644 --- a/typos.toml +++ b/typos.toml @@ -1,12 +1,7 @@ # Used by the typos action -[files] -extend-exclude = [ - "overrides" # not words -] - [default] locale = "en-gb" [files] -extend-exclude = ["*.txt", "*.toml", "*.yaml", "*.yml", "*.js", "*.html", '*.css"] +extend-exclude = ["*.txt", "*.toml", "*.yaml", "*.yml", "*.js", "*.html", '*.css", "overrides"] From 00ee897854f40908cb45746e65abe80e42db1eec Mon Sep 17 00:00:00 2001 From: Ruaridh <86845749+RooRay@users.noreply.github.com> Date: Sat, 4 Jan 2025 17:44:29 +0000 Subject: [PATCH 04/10] Update typos.toml --- typos.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typos.toml b/typos.toml index 27896a1..fa7d266 100644 --- a/typos.toml +++ b/typos.toml @@ -4,4 +4,4 @@ locale = "en-gb" [files] -extend-exclude = ["*.txt", "*.toml", "*.yaml", "*.yml", "*.js", "*.html", '*.css", "overrides"] +extend-exclude = ["*.txt", "*.toml", "*.yaml", "*.yml", "*.js", "*.html", "*.css", "overrides/"] From 56a0a6bfb20592d14c8d4d3ec41903652ccf7277 Mon Sep 17 00:00:00 2001 From: Ruaridh <86845749+RooRay@users.noreply.github.com> Date: Sat, 4 Jan 2025 18:03:51 +0000 Subject: [PATCH 05/10] Update typos.toml --- typos.toml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/typos.toml b/typos.toml index fa7d266..c9fc5da 100644 --- a/typos.toml +++ b/typos.toml @@ -2,6 +2,30 @@ [default] locale = "en-gb" +check-filename = true +extend-ignore-re = [ + + # Most usage of these words is in code where the american spelling is used or required + "Authorization", + "initalize", + "mustache" + +] [files] -extend-exclude = ["*.txt", "*.toml", "*.yaml", "*.yml", "*.js", "*.html", "*.css", "overrides/"] +extend-exclude = [ + + # Code is primarily written in American English + "*.txt", + "*.toml", + "*.yaml", + "*.yml", + "*.js", + "*.html", + "*.css", + "overrides/", + + # Written entirely in American English + "LICENSE" + +] From 81a103bcfaaf18c7143b1abb0addcf87fd412460 Mon Sep 17 00:00:00 2001 From: Ruaridh <86845749+RooRay@users.noreply.github.com> Date: Sat, 4 Jan 2025 18:36:59 +0000 Subject: [PATCH 06/10] Update typos.toml --- typos.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/typos.toml b/typos.toml index c9fc5da..edb6076 100644 --- a/typos.toml +++ b/typos.toml @@ -8,7 +8,8 @@ extend-ignore-re = [ # Most usage of these words is in code where the american spelling is used or required "Authorization", "initalize", - "mustache" + "mustache", + "color" ] @@ -26,6 +27,7 @@ extend-exclude = [ "overrides/", # Written entirely in American English - "LICENSE" + "LICENSE", + "docs/terms.md" ] From 83a565270607551d3e18fd716c610b52a48a4494 Mon Sep 17 00:00:00 2001 From: Ruaridh <86845749+RooRay@users.noreply.github.com> Date: Sat, 4 Jan 2025 18:42:01 +0000 Subject: [PATCH 07/10] Update typos.toml --- typos.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typos.toml b/typos.toml index edb6076..9cbb479 100644 --- a/typos.toml +++ b/typos.toml @@ -7,8 +7,8 @@ extend-ignore-re = [ # Most usage of these words is in code where the american spelling is used or required "Authorization", - "initalize", - "mustache", + "initialize", + "Mustache", "color" ] From 7268244b1e788bf28c9c5841ab239d54ba19400d Mon Sep 17 00:00:00 2001 From: Ruaridh <86845749+RooRay@users.noreply.github.com> Date: Sat, 4 Jan 2025 18:42:57 +0000 Subject: [PATCH 08/10] Update typos.toml --- typos.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/typos.toml b/typos.toml index 9cbb479..4830fc8 100644 --- a/typos.toml +++ b/typos.toml @@ -8,6 +8,7 @@ extend-ignore-re = [ # Most usage of these words is in code where the american spelling is used or required "Authorization", "initialize", + "mustache", "Mustache", "color" From cba1874fa702d3e6ca68f102674511658179e138 Mon Sep 17 00:00:00 2001 From: Ruaridh <86845749+RooRay@users.noreply.github.com> Date: Sat, 4 Jan 2025 18:47:13 +0000 Subject: [PATCH 09/10] Fix the actual typos --- docs/features/commands.md | 2 +- docs/features/index.md | 4 ++-- docs/self-hosting/reverse-proxy.md | 2 +- docs/self-hosting/updating.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/features/commands.md b/docs/features/commands.md index 6d0cbe2..f3bf4ae 100644 --- a/docs/features/commands.md +++ b/docs/features/commands.md @@ -102,7 +102,7 @@ The `time` option can be any number of minutes, hours, days, or weeks - e.g. `5d | Name | Description | Example | | :--------------------------------------------------------------: | :--------------------------------------------------------------------------------------------: | :-----: | -| :material-comment-text:{ .tip title="Autocompleted" } `category` | Close all tickets in hte specified category (can be used with 'time') | N/A | +| :material-comment-text:{ .tip title="Autocompleted" } `category` | Close all tickets in the specified category (can be used with 'time') | N/A | | `reason` | The reason why the ticket(s) should be closed | N/A | | :material-comment-text:{ .tip title="Autocompleted" } `ticket` | The ticket to close | N/A | | `time` | Close all tickets that have been inactive for the specified time (can be used with 'category') | `1w` | diff --git a/docs/features/index.md b/docs/features/index.md index c17e6be..264455a 100644 --- a/docs/features/index.md +++ b/docs/features/index.md @@ -57,10 +57,10 @@ This flowchart shows the different pathways that can be taken to create a ticket flowchart TB A1(["➡️ /new command"]) ----> B A2(["➡️ Panel button/menu"]) ----> D - A3(["➡️ Messsage:Create command"]) ---> B + A3(["➡️ Message:Create command"]) ---> B %% fa:fa-arrow-right-long A4(["➡️ User:Create command (staff)"]) -...->|"Staff interaction"| B - A5(["➡️ DM (message is topic)"]) --> AA{Mulitple servers?} + A5(["➡️ DM (message is topic)"]) --> AA{Multiple servers?} AA -->|Yes| AA1[/"❓ Select server with menu"/] ---> B AA -->|No| B B{Multiple categories?} diff --git a/docs/self-hosting/reverse-proxy.md b/docs/self-hosting/reverse-proxy.md index 07573a3..95e0fce 100644 --- a/docs/self-hosting/reverse-proxy.md +++ b/docs/self-hosting/reverse-proxy.md @@ -132,7 +132,7 @@ server { This example shows the additions you may need to make to your `docker-compose.yml` file to configure Traefik. After installing and configuring Traefik (referring to the documentation linked above), change the highlighted values to match your configuration. -This example shows the configuration you may need to add to the `bot` service & router in [:octicons-arrow-right-24: exemple docker-compose.yml](https://github.com/discord-tickets/bot/blob/main/docker-compose.yml) file. +This example shows the configuration you may need to add to the `bot` service & router in [:octicons-arrow-right-24: example docker-compose.yml](https://github.com/discord-tickets/bot/blob/main/docker-compose.yml) file. Refer to the documentation linked above for more information.