From 16d5c6e968bdcc2b9535fc5e30b45549e7c53dca Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Tue, 23 Aug 2022 12:29:10 +0100 Subject: [PATCH] docs: fix mispointed docs urls --- bot/src/slashCommands/commands/faq.ts | 8 ++++---- client/src/app/pages/RegisterPage.tsx | 2 +- client/src/app/pages/dashboard/import/ImportPage.tsx | 4 ++-- .../app/pages/dashboard/users/UserIntegrationsPage.tsx | 8 ++++---- .../tables/components/FilterDirectivesIndicator.tsx | 6 ++---- .../src/components/tables/dropdowns/components/PBNote.tsx | 6 +----- 6 files changed, 14 insertions(+), 20 deletions(-) diff --git a/bot/src/slashCommands/commands/faq.ts b/bot/src/slashCommands/commands/faq.ts index 40562a6ec..3652492c7 100644 --- a/bot/src/slashCommands/commands/faq.ts +++ b/bot/src/slashCommands/commands/faq.ts @@ -8,17 +8,17 @@ const NEUTRAL_FAQ_ENTRIES: Record = { duplicates: `Scores on ${ServerConfig.name} are deduplicated based on your score and lamp (and some other things). If you happen to get the exact same score twice, ${ServerConfig.name} will **ignore** the second one! There are legitimate reasons for this -- it's very common for people to import the same scores twice through file uploads or import scripts. -For more info on why this is a fundamental limitation of ${ServerConfig.name}, check [the documentation](https://docs.bokutachi.xyz/en/latest/user/score-oddities/#deduplication-false-positives-all-games).`, +For more info on why this is a fundamental limitation of ${ServerConfig.name}, check [the documentation](https://docs.bokutachi.xyz/user/score-oddities/#deduplication-false-positives-all-games).`, contribute: `Contributing to ${ServerConfig.name} in any way will get you the Contributor role, and a cool green name.\n Contributors who save us hours (or more) of dev time, or are just generally really supportive will get the Significant Contributor role, and an even cooler orange name. -${ServerConfig.name} is an Open Source project. Feel free to read our [contribution guide](https://docs.bokutachi.xyz/en/latest/contributing/), or just generally ask for stuff to help out with!`, +${ServerConfig.name} is an Open Source project. Feel free to read our [contribution guide](https://docs.bokutachi.xyz/contributing/), or just generally ask for stuff to help out with!`, docs: `Documentation for ${ServerConfig.name} is stored at https://docs.bokutachi.xyz.`, pbs: `A PB is all of your best scores on that specific chart joined together. For most games, this means joining your best score with your best lamp. -Read more about this [here](https://docs.bokutachi.xyz/en/latest/user/pbs-scores/)`, +Read more about this [here](https://docs.bokutachi.xyz/user/pbs-scores/)`, filter_directives: `Filter Directives are a fancy way of *filtering* rows inside a table. They provide an advanced toolkit for users to perform complex queries on their data. -Read more about them [here](https://docs.bokutachi.xyz/en/latest/user/filter-directives/)`, +Read more about them [here](https://docs.bokutachi.xyz/user/filter-directives/)`, dans: `Dans are good as a milestone for your skill. However, focusing too much on dans can be massively detrimental to your skill as a player.\n Playing a fixed set of charts all the time will not expose you to more things, and will generally slow down your improvement as a player. Furthermore, they're stressful, and designed to be played *just* at the cusp of what you can play.\n In short. Don't play dans too much.`, diff --git a/client/src/app/pages/RegisterPage.tsx b/client/src/app/pages/RegisterPage.tsx index 10489ea87..235b80cb0 100644 --- a/client/src/app/pages/RegisterPage.tsx +++ b/client/src/app/pages/RegisterPage.tsx @@ -142,7 +142,7 @@ export default function RegisterPage() {

Hey! Before you make an account, please read the{" "} Discord.
Know how to program, and want to write a script yourself? Check out{" "} - + Batch Manual . @@ -367,7 +367,7 @@ function ImportTypeInfoCard({ moreInfo={ <> Check{" "} - + the documentation . diff --git a/client/src/app/pages/dashboard/users/UserIntegrationsPage.tsx b/client/src/app/pages/dashboard/users/UserIntegrationsPage.tsx index b08f9530f..6caea62e5 100644 --- a/client/src/app/pages/dashboard/users/UserIntegrationsPage.tsx +++ b/client/src/app/pages/dashboard/users/UserIntegrationsPage.tsx @@ -83,7 +83,7 @@ function OAuthClientPage() { You can read the documentation{" "} here @@ -243,7 +243,7 @@ function CreateNewOAuthClient({ setClients }: { setClients: SetState%%TACHI_KEY%% will be replaced with the generated key. Read more about client file flow{" "} - + here . @@ -559,7 +559,7 @@ function EditClientModal({ /> Where to send webhook events to. Please read the{" "} - + Webhook Documentation {" "} before using this, as there are necessary security precautions. @@ -577,7 +577,7 @@ function EditClientModal({ In what format should a generated API Key be shown to the user? This only applies to Client File Flow. %%TACHI_KEY%% will be replaced with the generated key. Read more about client file flow{" "} - + here . diff --git a/client/src/components/tables/components/FilterDirectivesIndicator.tsx b/client/src/components/tables/components/FilterDirectivesIndicator.tsx index 8116de4b2..062cf6388 100644 --- a/client/src/components/tables/components/FilterDirectivesIndicator.tsx +++ b/client/src/components/tables/components/FilterDirectivesIndicator.tsx @@ -57,7 +57,7 @@ export default function FilterDirectivesIndicator({ component={ <> You can use{" "} - + Filter Directives {" "} inside this filter box. @@ -80,9 +80,7 @@ export default function FilterDirectivesIndicator({

This is a slightly advanced feature for{" "} power users. You can read about it{" "} - - here - + here .
The quick explanation is that you can use directives like{" "} Title:conflict Score:>=100 to perform advanced filters! diff --git a/client/src/components/tables/dropdowns/components/PBNote.tsx b/client/src/components/tables/dropdowns/components/PBNote.tsx index 3415bdc2e..91ab6a0f6 100644 --- a/client/src/components/tables/dropdowns/components/PBNote.tsx +++ b/client/src/components/tables/dropdowns/components/PBNote.tsx @@ -5,11 +5,7 @@ export default function PBNote() { return ( Your PB is the combination of your best score and your best lamp. Read more{" "} - - {" "} - here - - . + here. ); }