mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-09-08 10:37:14 +00:00
docs: replace legacy documentation shortlinks (#2510)
* docs: replace legacy documentation shortlinks * style: format updated documentation URLs --------- Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Debug LangBot Frontend
|
||||
|
||||
Please refer to the [Development Guide](https://link.langbot.app/en/docs/dev-config) for more information.
|
||||
Please refer to the [Development Guide](https://langbot.app/docs/en/develop/dev-config) for more information.
|
||||
|
||||
## Tests
|
||||
|
||||
|
||||
@@ -2195,12 +2195,12 @@ export default function HomeSidebar({
|
||||
localStorage.getItem('langbot_language');
|
||||
if (language === 'zh-Hans' || language === 'zh-Hant') {
|
||||
window.open(
|
||||
'https://link.langbot.app/zh/docs/guide',
|
||||
'https://langbot.app/docs/zh/insight/guide',
|
||||
'_blank',
|
||||
);
|
||||
} else {
|
||||
window.open(
|
||||
'https://link.langbot.app/en/docs/guide',
|
||||
'https://langbot.app/docs/en/insight/guide',
|
||||
'_blank',
|
||||
);
|
||||
}
|
||||
|
||||
@@ -49,9 +49,9 @@ export const sidebarConfigList = [
|
||||
route: '/home/bots',
|
||||
description: t('bots.description'),
|
||||
helpLink: {
|
||||
en_US: 'https://link.langbot.app/en/docs/platforms',
|
||||
zh_Hans: 'https://link.langbot.app/zh/docs/platforms',
|
||||
ja_JP: 'https://link.langbot.app/ja/docs/platforms',
|
||||
en_US: 'https://langbot.app/docs/en/usage/platforms/readme',
|
||||
zh_Hans: 'https://langbot.app/docs/zh/usage/platforms/readme',
|
||||
ja_JP: 'https://langbot.app/docs/ja/usage/platforms/readme',
|
||||
},
|
||||
section: 'home',
|
||||
}),
|
||||
@@ -62,9 +62,9 @@ export const sidebarConfigList = [
|
||||
route: '/home/pipelines',
|
||||
description: t('pipelines.description'),
|
||||
helpLink: {
|
||||
en_US: 'https://link.langbot.app/en/docs/pipelines',
|
||||
zh_Hans: 'https://link.langbot.app/zh/docs/pipelines',
|
||||
ja_JP: 'https://link.langbot.app/ja/docs/pipelines',
|
||||
en_US: 'https://langbot.app/docs/en/usage/pipelines/readme',
|
||||
zh_Hans: 'https://langbot.app/docs/zh/usage/pipelines/readme',
|
||||
ja_JP: 'https://langbot.app/docs/ja/usage/pipelines/readme',
|
||||
},
|
||||
section: 'home',
|
||||
}),
|
||||
@@ -75,9 +75,9 @@ export const sidebarConfigList = [
|
||||
route: '/home/knowledge',
|
||||
description: t('knowledge.description'),
|
||||
helpLink: {
|
||||
en_US: 'https://link.langbot.app/en/docs/knowledge',
|
||||
zh_Hans: 'https://link.langbot.app/zh/docs/knowledge',
|
||||
ja_JP: 'https://link.langbot.app/ja/docs/knowledge',
|
||||
en_US: 'https://langbot.app/docs/en/usage/knowledge/readme',
|
||||
zh_Hans: 'https://langbot.app/docs/zh/usage/knowledge/readme',
|
||||
ja_JP: 'https://langbot.app/docs/ja/usage/knowledge/readme',
|
||||
},
|
||||
section: 'home',
|
||||
}),
|
||||
|
||||
@@ -34,11 +34,11 @@ export default function NewVersionDialog({
|
||||
const getUpdateDocsUrl = () => {
|
||||
const language = i18n.language;
|
||||
if (language === 'zh-Hans' || language === 'zh-Hant') {
|
||||
return 'https://link.langbot.app/zh/docs/update';
|
||||
return 'https://langbot.app/docs/zh/deploy/update';
|
||||
} else if (language === 'ja-JP') {
|
||||
return 'https://link.langbot.app/ja/docs/update';
|
||||
return 'https://langbot.app/docs/ja/deploy/update';
|
||||
} else {
|
||||
return 'https://link.langbot.app/en/docs/update';
|
||||
return 'https://langbot.app/docs/en/deploy/update';
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -76,7 +76,8 @@ const enUS = {
|
||||
privacyPolicy: 'Privacy Policy',
|
||||
and: 'and',
|
||||
dataCollectionPolicy: 'Data Collection Policy',
|
||||
dataCollectionPolicyUrl: 'https://link.langbot.app/en/docs/data-policy',
|
||||
dataCollectionPolicyUrl:
|
||||
'https://langbot.app/docs/en/insight/data-collection-policy',
|
||||
loading: 'Loading...',
|
||||
fieldRequired: 'This field is required',
|
||||
or: 'or',
|
||||
|
||||
@@ -79,7 +79,8 @@ const esES = {
|
||||
privacyPolicy: 'Política de privacidad',
|
||||
and: 'y',
|
||||
dataCollectionPolicy: 'Política de recopilación de datos',
|
||||
dataCollectionPolicyUrl: 'https://link.langbot.app/en/docs/data-policy',
|
||||
dataCollectionPolicyUrl:
|
||||
'https://langbot.app/docs/en/insight/data-collection-policy',
|
||||
loading: 'Cargando...',
|
||||
fieldRequired: 'Este campo es obligatorio',
|
||||
or: 'o',
|
||||
|
||||
@@ -77,7 +77,8 @@ const jaJP = {
|
||||
privacyPolicy: 'プライバシーポリシー',
|
||||
and: 'および',
|
||||
dataCollectionPolicy: 'データ収集ポリシー',
|
||||
dataCollectionPolicyUrl: 'https://link.langbot.app/ja/docs/data-policy',
|
||||
dataCollectionPolicyUrl:
|
||||
'https://langbot.app/docs/ja/insight/data-collection-policy',
|
||||
loading: '読み込み中...',
|
||||
fieldRequired: 'この項目は必須です',
|
||||
or: 'または',
|
||||
|
||||
@@ -76,7 +76,8 @@ const ruRU = {
|
||||
privacyPolicy: 'Политикой конфиденциальности',
|
||||
and: 'и',
|
||||
dataCollectionPolicy: 'Политикой сбора данных',
|
||||
dataCollectionPolicyUrl: 'https://link.langbot.app/en/docs/data-policy',
|
||||
dataCollectionPolicyUrl:
|
||||
'https://langbot.app/docs/en/insight/data-collection-policy',
|
||||
loading: 'Загрузка...',
|
||||
fieldRequired: 'Это поле обязательно для заполнения',
|
||||
or: 'или',
|
||||
|
||||
@@ -76,7 +76,8 @@ const thTH = {
|
||||
privacyPolicy: 'นโยบายความเป็นส่วนตัว',
|
||||
and: 'และ',
|
||||
dataCollectionPolicy: 'นโยบายการเก็บรวบรวมข้อมูล',
|
||||
dataCollectionPolicyUrl: 'https://link.langbot.app/en/docs/data-policy',
|
||||
dataCollectionPolicyUrl:
|
||||
'https://langbot.app/docs/en/insight/data-collection-policy',
|
||||
loading: 'กำลังโหลด...',
|
||||
fieldRequired: 'ช่องนี้จำเป็นต้องกรอก',
|
||||
or: 'หรือ',
|
||||
|
||||
@@ -77,7 +77,8 @@ const viVN = {
|
||||
privacyPolicy: 'Chính sách bảo mật',
|
||||
and: 'và',
|
||||
dataCollectionPolicy: 'Chính sách thu thập dữ liệu',
|
||||
dataCollectionPolicyUrl: 'https://link.langbot.app/en/docs/data-policy',
|
||||
dataCollectionPolicyUrl:
|
||||
'https://langbot.app/docs/en/insight/data-collection-policy',
|
||||
loading: 'Đang tải...',
|
||||
fieldRequired: 'Trường này là bắt buộc',
|
||||
or: 'hoặc',
|
||||
|
||||
@@ -75,7 +75,8 @@ const zhHans = {
|
||||
privacyPolicy: '隐私政策',
|
||||
and: '和',
|
||||
dataCollectionPolicy: '数据收集政策',
|
||||
dataCollectionPolicyUrl: 'https://link.langbot.app/zh/docs/data-policy',
|
||||
dataCollectionPolicyUrl:
|
||||
'https://langbot.app/docs/zh/insight/data-collection-policy',
|
||||
loading: '加载中...',
|
||||
fieldRequired: '此字段为必填项',
|
||||
or: '或',
|
||||
|
||||
@@ -75,7 +75,8 @@ const zhHant = {
|
||||
privacyPolicy: '隱私政策',
|
||||
and: '和',
|
||||
dataCollectionPolicy: '數據收集政策',
|
||||
dataCollectionPolicyUrl: 'https://link.langbot.app/zh/docs/data-policy',
|
||||
dataCollectionPolicyUrl:
|
||||
'https://langbot.app/docs/zh/insight/data-collection-policy',
|
||||
loading: '載入中...',
|
||||
fieldRequired: '此欄位為必填',
|
||||
or: '或',
|
||||
|
||||
Reference in New Issue
Block a user