chore: update docs links

This commit is contained in:
Steven 2023-10-29 08:57:58 +08:00
parent f5c1e79195
commit c26417de70
5 changed files with 10 additions and 7 deletions

View File

@ -190,7 +190,7 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => {
<LearnMore <LearnMore
className="ml-1" className="ml-1"
title={t("setting.storage-section.path-description")} title={t("setting.storage-section.path-description")}
url="https://usememos.com/docs/get-started/local-storage" url="https://usememos.com/docs/advanced-settings/local-storage"
/> />
</div> </div>
<Input <Input

View File

@ -60,7 +60,7 @@ const SSOSection = () => {
<div className="section-container"> <div className="section-container">
<div className="mb-2 w-full flex flex-row justify-start items-center gap-1"> <div className="mb-2 w-full flex flex-row justify-start items-center gap-1">
<span className="font-mono text-sm text-gray-400">{t("setting.sso-section.sso-list")}</span> <span className="font-mono text-sm text-gray-400">{t("setting.sso-section.sso-list")}</span>
<LearnMore url="https://usememos.com/docs/get-started/keycloak" /> <LearnMore url="https://usememos.com/docs/advanced-settings/keycloak" />
<button <button
className="btn-normal px-2 py-0 ml-1" className="btn-normal px-2 py-0 ml-1"
onClick={() => showCreateIdentityProviderDialog(undefined, fetchIdentityProviderList)} onClick={() => showCreateIdentityProviderDialog(undefined, fetchIdentityProviderList)}
@ -110,7 +110,7 @@ const SSOSection = () => {
<p className="text-sm">{t("common.learn-more")}</p> <p className="text-sm">{t("common.learn-more")}</p>
<List component="ul" marker="disc" size="sm"> <List component="ul" marker="disc" size="sm">
<ListItem> <ListItem>
<Link className="text-sm hover:underline hover:text-blue-600" to="https://www.usememos.com/docs/get-started/keycloak"> <Link className="text-sm hover:underline hover:text-blue-600" to="https://www.usememos.com/docs/advanced-settings/keycloak">
Configuring Keycloak for Authentication Configuring Keycloak for Authentication
</Link> </Link>
</ListItem> </ListItem>

View File

@ -85,7 +85,7 @@ const StorageSection = () => {
<Divider className="!my-4" /> <Divider className="!my-4" />
<div className="mb-2 w-full flex flex-row justify-start items-center gap-1"> <div className="mb-2 w-full flex flex-row justify-start items-center gap-1">
<span className="font-mono text-sm text-gray-400">{t("setting.storage-section.storage-services-list")}</span> <span className="font-mono text-sm text-gray-400">{t("setting.storage-section.storage-services-list")}</span>
<LearnMore url="https://usememos.com/docs/get-started/cloudflare-r2" /> <LearnMore url="https://usememos.com/docs/advanced-settings/cloudflare-r2" />
<button className="btn-normal px-2 py-0 ml-1" onClick={() => showCreateStorageServiceDialog(undefined, fetchStorageList)}> <button className="btn-normal px-2 py-0 ml-1" onClick={() => showCreateStorageServiceDialog(undefined, fetchStorageList)}>
{t("common.create")} {t("common.create")}
</button> </button>
@ -127,7 +127,10 @@ const StorageSection = () => {
<p className="text-sm">{t("common.learn-more")}</p> <p className="text-sm">{t("common.learn-more")}</p>
<List component="ul" marker="disc" size="sm"> <List component="ul" marker="disc" size="sm">
<ListItem> <ListItem>
<Link className="text-sm hover:underline hover:text-blue-600" to="https://www.usememos.com/docs/get-started/local-storage"> <Link
className="text-sm hover:underline hover:text-blue-600"
to="https://www.usememos.com/docs/advanced-settings/local-storage"
>
Docs - Local storage Docs - Local storage
</Link> </Link>
</ListItem> </ListItem>

View File

@ -374,7 +374,7 @@ const SystemSection = () => {
<div className="w-full"> <div className="w-full">
<Link <Link
className="text-gray-500 text-sm flex flex-row justify-start items-center mt-2 hover:underline hover:text-blue-600" className="text-gray-500 text-sm flex flex-row justify-start items-center mt-2 hover:underline hover:text-blue-600"
to="https://usememos.com/docs/get-started/custom-style-and-script" to="https://usememos.com/docs/advanced-settings/custom-style-and-script"
target="_blank" target="_blank"
> >
{t("common.learn-more")} {t("common.learn-more")}

View File

@ -52,7 +52,7 @@ const UpdateLocalStorageDialog: React.FC<Props> = (props: Props) => {
<p className="text-sm break-words mb-1">{t("setting.storage-section.update-local-path-description")}</p> <p className="text-sm break-words mb-1">{t("setting.storage-section.update-local-path-description")}</p>
<div className="flex flex-row items-center mb-2 gap-x-2"> <div className="flex flex-row items-center mb-2 gap-x-2">
<span className="text-sm text-gray-400 break-all">e.g. {"assets/{timestamp}_{filename}"}</span> <span className="text-sm text-gray-400 break-all">e.g. {"assets/{timestamp}_{filename}"}</span>
<LearnMore url="https://usememos.com/docs/get-started/local-storage" /> <LearnMore url="https://usememos.com/docs/advanced-settings/local-storage" />
</div> </div>
<Input <Input
className="mb-2" className="mb-2"