From 1ddb58bda228a1b2a7f1688147f02f345595705e Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 28 Apr 2023 13:45:20 +0800 Subject: ✨修改url与repo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/components/Social.tsx | 8 ++++---- docs/next.config.js | 4 ++-- docs/theme.config.js | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/components/Social.tsx b/docs/components/Social.tsx index 2ed0df0..df632f3 100644 --- a/docs/components/Social.tsx +++ b/docs/components/Social.tsx @@ -3,9 +3,9 @@ import { DiscordIcon, GitHubIcon } from "nextra/icons"; function Github() { return ( @@ -18,9 +18,9 @@ function Github() { function Discord() { return ( diff --git a/docs/next.config.js b/docs/next.config.js index eb56c65..653658f 100644 --- a/docs/next.config.js +++ b/docs/next.config.js @@ -137,12 +137,12 @@ const nextConfig = withNextra({ { source: "/discord{/}?", permanent: true, - destination: "https://discord.gg/sSzyjxvbf5", + destination: "https://discord.gg/JBe8BYJgKT", }, { source: "/docs/changelog", permanent: true, - destination: "https://github.com/vercel/turbo/releases", + destination: "https://github.com/retrofor/HydroRoll/releases", }, { source: "/docs/guides/complimentary-tools", diff --git a/docs/theme.config.js b/docs/theme.config.js index 0704c09..ce6426b 100644 --- a/docs/theme.config.js +++ b/docs/theme.config.js @@ -7,7 +7,7 @@ import HeaderLogo from "./components/HeaderLogo"; import ExtraContent from "./components/ExtraContent"; import { Discord, Github } from "./components/Social"; -const SITE_ROOT = "https://turbo.build"; +const SITE_ROOT = "https://hydroroll.retrofor.space"; /** * @type {import('nextra-theme-docs').DocsThemeConfig} @@ -16,7 +16,7 @@ const theme = { sidebar: { defaultMenuCollapseLevel: Number.POSITIVE_INFINITY, }, - docsRepositoryBase: "https://github.com/vercel/turbo/blob/main/docs", + docsRepositoryBase: "https://github.com/retrofor/HydroRoll/blob/main/docs", useNextSeoProps: function SEO() { const router = useRouter(); const { frontMatter } = useConfig(); @@ -147,8 +147,8 @@ const theme = { ); -- cgit v1.2.3-70-g09d2