fix:change docs url (#5307)

This commit is contained in:
dreamer6680
2025-07-24 13:00:27 +08:00
committed by GitHub
parent 8e61029505
commit fa60f546d4
80 changed files with 285 additions and 94 deletions
@@ -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>