From 101b830d87c7177ac708d4a7c8a4ea797680c782 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Wed, 21 Jun 2023 16:41:08 +0200 Subject: [PATCH] Remove docs translations from links (#1441) See https://github.com/LemmyNet/lemmy-docs/pull/223 There are redirects in place so this is not urgent. --- CONTRIBUTING.md | 2 +- lemmy-translations | 2 +- src/shared/utils.ts | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 75015d8..e300add 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,3 @@ # Contributing -See [here](https://join-lemmy.org/docs/en/contributors/01-overview.html) for contributing Instructions. +See [here](https://join-lemmy.org/docs/contributors/01-overview.html) for contributing Instructions. diff --git a/lemmy-translations b/lemmy-translations index a241fe1..ddf0d3a 160000 --- a/lemmy-translations +++ b/lemmy-translations @@ -1 +1 @@ -Subproject commit a241fe1255a6363c7ae1ec5a09520c066745e6ce +Subproject commit ddf0d3a4dcfba5eddbcdb702db2470b52abb3815 diff --git a/src/shared/utils.ts b/src/shared/utils.ts index 8b01e5b..33658d1 100644 --- a/src/shared/utils.ts +++ b/src/shared/utils.ts @@ -65,10 +65,10 @@ export const favIconPngUrl = "/static/assets/icons/apple-touch-icon.png"; export const repoUrl = "https://github.com/LemmyNet"; export const joinLemmyUrl = "https://join-lemmy.org"; export const donateLemmyUrl = `${joinLemmyUrl}/donate`; -export const docsUrl = `${joinLemmyUrl}/docs/en/index.html`; -export const helpGuideUrl = `${joinLemmyUrl}/docs/en/users/01-getting-started.html`; // TODO find a way to redirect to the non-en folder -export const markdownHelpUrl = `${joinLemmyUrl}/docs/en/users/02-media.html`; -export const sortingHelpUrl = `${joinLemmyUrl}/docs/en/users/03-votes-and-ranking.html`; +export const docsUrl = `${joinLemmyUrl}/docs/index.html`; +export const helpGuideUrl = `${joinLemmyUrl}/docs/users/01-getting-started.html`; // TODO find a way to redirect to the non-en folder +export const markdownHelpUrl = `${joinLemmyUrl}/docs/users/02-media.html`; +export const sortingHelpUrl = `${joinLemmyUrl}/docs/users/03-votes-and-ranking.html`; export const archiveTodayUrl = "https://archive.today"; export const ghostArchiveUrl = "https://ghostarchive.org"; export const webArchiveUrl = "https://web.archive.org"; -- 2.44.1