diff --git a/AGENTS.md b/AGENTS.md index 7b84e54..cc97434 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -300,9 +300,11 @@ Create such documents only when the user explicitly asks for them. - Stop after 3 failed attempts and reassess. + # This is NOT the Next.js you know This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` before writing any code. Heed deprecation notices. **Keep this block, including in commits.** It is part of the project's agent setup, maintained by `next dev` for every agent that works here. If it appears as an uncommitted change, that is intentional — commit it as-is. Do not remove it to clean up a diff; it will be regenerated. + diff --git a/app/(auth)/config/page.tsx b/app/(auth)/config/page.tsx index d57e2df..b7065e3 100644 --- a/app/(auth)/config/page.tsx +++ b/app/(auth)/config/page.tsx @@ -32,7 +32,7 @@ function ConfigPageContent() { const router = useRouter() const message = useMessage() const theme = getThemeManifest() - const docs = theme.links.documentation ?? "https://docs.rustfs.com/" + const docs = theme.links.documentation ?? "https://docs.rustfs.com/?ref=console" const [serverHost, setServerHost] = useState(() => typeof window !== "undefined" ? (localStorage.getItem("rustfs-server-host") ?? "") : "", diff --git a/config/navs.ts b/config/navs.ts index 0acfd32..2cb1359 100644 --- a/config/navs.ts +++ b/config/navs.ts @@ -122,7 +122,7 @@ export default [ }, { label: "Documentation", - to: theme.links.documentation ?? "https://docs.rustfs.com/", + to: theme.links.documentation ?? "https://docs.rustfs.com/?ref=console", target: "_blank", icon: "ri:file-list-3-line", }, diff --git a/themes/default/manifest.json b/themes/default/manifest.json index 9c62c20..079deaf 100644 --- a/themes/default/manifest.json +++ b/themes/default/manifest.json @@ -14,7 +14,7 @@ }, "links": { "website": "https://www.rustfs.com", - "documentation": "https://docs.rustfs.com/", + "documentation": "https://docs.rustfs.com/?ref=console", "github": "https://github.com/rustfs/console", "x": "https://x.com/rustfsofficial" }