mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-17 16:45:02 +00:00
fix:change docs url (#5307)
This commit is contained in:
@@ -133,7 +133,7 @@ const AIChatSettingsModal = ({
|
||||
w={'1rem'}
|
||||
cursor={'pointer'}
|
||||
onClick={() => {
|
||||
window.open(getDocPath('/docs/guide/course/ai_settings/'), '_blank');
|
||||
window.open(getDocPath('/docs/introduction/guide/course/ai_settings/'), '_blank');
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
@@ -144,7 +144,9 @@ const InputGuideConfig = ({
|
||||
<Flex mt={8} alignItems={'center'}>
|
||||
<FormLabel>{t('chat:custom_input_guide_url')}</FormLabel>
|
||||
<Flex
|
||||
onClick={() => window.open(getDocPath('/docs/guide/course/chat_input_guide/'))}
|
||||
onClick={() =>
|
||||
window.open(getDocPath('/docs/introduction/guide/course/chat_input_guide/'))
|
||||
}
|
||||
color={'primary.700'}
|
||||
alignItems={'center'}
|
||||
cursor={'pointer'}
|
||||
|
@@ -97,7 +97,9 @@ const ApiKeyTable = ({ tips, appId }: { tips: string; appId?: string }) => {
|
||||
</Box>
|
||||
{feConfigs?.docUrl && (
|
||||
<Link
|
||||
href={feConfigs.openAPIDocUrl || getDocPath('/docs/development/openapi')}
|
||||
href={
|
||||
feConfigs.openAPIDocUrl || getDocPath('/docs/introduction/development/openapi')
|
||||
}
|
||||
target={'_blank'}
|
||||
ml={1}
|
||||
color={'primary.500'}
|
||||
|
@@ -101,7 +101,7 @@ const LafAccountModal = ({
|
||||
<Box fontSize={'sm'} color={'myGray.500'}>
|
||||
<Box>{t('common:support.user.Laf account intro')}</Box>
|
||||
<Box textDecoration={'underline'}>
|
||||
<Link href={getDocPath('/docs/guide/dashboard/workflow/laf/')} isExternal>
|
||||
<Link href={getDocPath('/docs/introduction/guide/dashboard/workflow/laf/')} isExternal>
|
||||
{t('common:support.user.Laf account course')}
|
||||
</Link>
|
||||
</Box>
|
||||
|
@@ -395,7 +395,7 @@ function EditLinkModal({
|
||||
/>
|
||||
</Flex>
|
||||
<Link
|
||||
href={getDocPath('/docs/development/openapi/share')}
|
||||
href={getDocPath('/docs/introduction/development/openapi/share')}
|
||||
target={'_blank'}
|
||||
fontSize={'xs'}
|
||||
color={'myGray.500'}
|
||||
|
@@ -77,7 +77,7 @@ const TemplateImportModal = ({
|
||||
display={'flex'}
|
||||
alignItems={'center'}
|
||||
gap={0.5}
|
||||
href={getDocPath('/docs/guide/knowledge_base/template/')}
|
||||
href={getDocPath('/docs/introduction/guide/knowledge_base/template/')}
|
||||
color="primary.600"
|
||||
target="_blank"
|
||||
>
|
||||
|
@@ -125,7 +125,7 @@ const WebsiteConfigModal = ({
|
||||
{t('common:core.dataset.website.Config Description')}
|
||||
{feConfigs?.docUrl && (
|
||||
<Link
|
||||
href={getDocPath('/docs/guide/knowledge_base/websync/')}
|
||||
href={getDocPath('/docs/introduction/guide/knowledge_base/websync/')}
|
||||
target="_blank"
|
||||
textDecoration={'underline'}
|
||||
color={'blue.700'}
|
||||
|
@@ -83,7 +83,7 @@ const CustomLinkImport = () => {
|
||||
<Box color={'myGray.500'} fontSize={'sm'}>
|
||||
{feConfigs?.docUrl && (
|
||||
<Link
|
||||
href={getDocPath('/docs/guide/knowledge_base/websync/#选择器如何使用')}
|
||||
href={getDocPath('/docs/introduction/guide/knowledge_base/websync/#选择器如何使用')}
|
||||
target="_blank"
|
||||
>
|
||||
{t('common:core.dataset.website.Selector Course')}
|
||||
|
@@ -121,7 +121,7 @@ const LoginForm = ({ setPageType, loginSuccess }: Props) => {
|
||||
{t('login:policy_tip')}
|
||||
<Link
|
||||
ml={1}
|
||||
href={getDocPath('/docs/agreement/terms/')}
|
||||
href={getDocPath('/docs/protocol/terms/')}
|
||||
target={'_blank'}
|
||||
color={'primary.700'}
|
||||
>
|
||||
@@ -129,7 +129,7 @@ const LoginForm = ({ setPageType, loginSuccess }: Props) => {
|
||||
</Link>
|
||||
<Box mx={1}>&</Box>
|
||||
<Link
|
||||
href={getDocPath('/docs/agreement/privacy/')}
|
||||
href={getDocPath('/docs/protocol/privacy/')}
|
||||
target={'_blank'}
|
||||
color={'primary.700'}
|
||||
>
|
||||
|
@@ -78,7 +78,7 @@ const CookiesModal = () => {
|
||||
textDecorationLine={'underline'}
|
||||
cursor={'pointer'}
|
||||
w={'fit-content'}
|
||||
onClick={() => window.open(getDocPath('/docs/agreement/privacy/'), '_blank')}
|
||||
onClick={() => window.open(getDocPath('/docs/protocol/privacy/'), '_blank')}
|
||||
>
|
||||
{t('login:privacy_policy')}
|
||||
</Box>
|
||||
|
@@ -710,7 +710,7 @@ const Other = ({ onOpenContact }: { onOpenContact: () => void }) => {
|
||||
<Grid gridGap={4}>
|
||||
{feConfigs?.docUrl && (
|
||||
<Link
|
||||
href={getDocPath('/docs/intro')}
|
||||
href={getDocPath('/docs/introduction')}
|
||||
target="_blank"
|
||||
textDecoration={'none !important'}
|
||||
{...ButtonStyles}
|
||||
|
@@ -23,7 +23,7 @@ const More = () => {
|
||||
{
|
||||
icon: 'common/courseLight',
|
||||
label: t('common:core.app.tool_label.doc'),
|
||||
link: getDocPath('/docs/intro')
|
||||
link: getDocPath('/docs/introduction')
|
||||
}
|
||||
]
|
||||
: []),
|
||||
|
Reference in New Issue
Block a user