From 2fff48382274345be1cb62f434c025eae3f3de71 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 21 Jun 2023 13:35:03 +0200 Subject: [PATCH] Remove docs translations from links 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 75015d8f..e300add3 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 a241fe12..ddf0d3a4 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 8b01e5b4..33658d17 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";