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
className="ml-1"
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>
<Input

View file

@ -60,7 +60,7 @@ const SSOSection = () => {
<div className="section-container">
<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>
<LearnMore url="https://usememos.com/docs/get-started/keycloak" />
<LearnMore url="https://usememos.com/docs/advanced-settings/keycloak" />
<button
className="btn-normal px-2 py-0 ml-1"
onClick={() => showCreateIdentityProviderDialog(undefined, fetchIdentityProviderList)}
@ -110,7 +110,7 @@ const SSOSection = () => {
<p className="text-sm">{t("common.learn-more")}</p>
<List component="ul" marker="disc" size="sm">
<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
</Link>
</ListItem>

View file

@ -85,7 +85,7 @@ const StorageSection = () => {
<Divider className="!my-4" />
<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>
<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)}>
{t("common.create")}
</button>
@ -127,7 +127,10 @@ const StorageSection = () => {
<p className="text-sm">{t("common.learn-more")}</p>
<List component="ul" marker="disc" size="sm">
<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
</Link>
</ListItem>

View file

@ -374,7 +374,7 @@ const SystemSection = () => {
<div className="w-full">
<Link
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"
>
{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>
<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>
<LearnMore url="https://usememos.com/docs/get-started/local-storage" />
<LearnMore url="https://usememos.com/docs/advanced-settings/local-storage" />
</div>
<Input
className="mb-2"