Files
mintlify[bot] 3ca550b188 Update from code changes: switch hosted docs domain to mintlify.site (#6296)
* docs: update hosted docs domain to mintlify.site

* docs: complete mintlify.site migration across remaining pages

Updates 45 files that PR 6282 had originally changed but were
reverted by PR 6285 and not re-addressed in this PR:

- snippets/vercel-json-generator.mdx (all 4 locales): rewrite
  destinations now use mintlify.site, consistent with deploy/vercel.mdx
- assistant/use.mdx: example deep-link URLs
- ai/skillmd.mdx: agent card subdomain reference
- guides/assistant-embed.mdx: docsURL code example
- guides/codex.mdx: MCP URL example
- deploy/authentication-setup.mdx: example Mintlify subdomain
- discovery-openapi.json: domain identifier URL descriptions (4 occurrences)
- integrations/privacy/osano.mdx: managed rule domain
- editor/branching-and-publishing.mdx: branch preview URL format
- customize/themes.mdx: theme demo site links
- guides/help-center.mdx: live example link
- zh/editor/collaborate.mdx: branch preview URL format

All changes mirrored across es, fr, and zh locales.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-26 10:51:54 -07:00

61 lines
3.7 KiB
Plaintext

---
title: "主题"
description: "选择一个主题,自定义文档的外观样式。"
mode: "frame"
keywords: ["主题选择", "Mint", "Maple", "Palm", "Willow", "Linden", "Almond", "Aspen", "Sequoia", "自定义外观"]
boost: 3
---
export const ThemeCard = ({ title, value, description, href }) => {
return (
<a className="mt-4 gap-10 group cursor-pointer" href={href}>
<div>
<img className="mt-0 rounded-2xl group-hover:scale-105 transition-all block" src={`https://raw.githubusercontent.com/mintlify/docs/refs/heads/main/images/themes/${value}.png`} alt={title} noZoom />
</div>
<div>
<div className="mt-4 flex space-x-2 items-center">
<h4 className="text-base font-medium text-gray-900 dark:text-gray-200">{title}</h4>
<label className="text-sm text-gray-500 dark:text-gray-400">“{value}”</label>
</div>
<div class="mt-1 prose-sm prose-gray mb-2 text-gray-500 dark:text-gray-400">{description}</div>
<div className="flex items-center gap-1 mt-2 text-green-600 group-hover:text-green-800 dark:text-green-500 dark:group-hover:text-green-400">
<span className="text-sm font-medium">
查看预览
</span>
<svg className="size-3 group-hover:translate-x-0.5 transition-all" width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.05566 2.70996L9.91678 7.57107L5.05566 12.4322" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</div>
</div>
</a>
);
};
<div className="pt-10 pb-24 px-4 max-w-3xl mx-auto prose prose-gray">
<label className="eyebrow h-5 text-primary dark:text-primary-light text-sm font-semibold">核心概念</label>
<h1 className="mt-1 mb-2 text-2xl sm:text-3xl text-gray-900 tracking-tight dark:text-gray-200 font-semibold">主题</h1>
<label className="text-lg prose prose-gray dark:prose-invert">自定义文档站点的外观<br /><br />在 docs.json 中配置 [theme](/zh/organize/settings-appearance#theme),并从以下主题中进行选择。</label>
<br />
<div className="mt-10 grid grid-cols-1 sm:grid-cols-2 gap-8 not-prose">
<ThemeCard title="Mint" value="mint" description="经典文档主题,布局经过时间检验,导航直观易用。" href="https://mint.mintlify.site" />
<ThemeCard title="Maple" value="maple" description="现代、清爽的审美风格,完美适配 AI 与 SaaS 产品。" href="https://maple.mintlify.site" />
<ThemeCard title="Palm" value="palm" description="精致的金融科技主题,为企业级文档提供深度自定义能力。" href="https://palm.mintlify.site" />
<ThemeCard title="Willow" value="willow" description="回归本质的极简配置,带来无干扰的阅读体验。" href="https://willow.mintlify.site" />
<ThemeCard title="Linden" value="linden" description="复古终端氛围与等宽字体,呈现 80 年代的黑客美学。" href="https://linden.mintlify.site" />
<ThemeCard title="Almond" value="almond" description="卡片式信息组织结合极简设计,带来直观的导航。" href="https://almond.mintlify.site" />
<ThemeCard title="Aspen" value="aspen" description="为复杂导航与自定义组件打造的现代文档主题。" href="https://aspen.mintlify.site" />
<ThemeCard title="Sequoia" value="sequoia" description="极简优雅的布局,专为大规模、以内容为核心的文档设计。" href="https://sequoia.mintlify.site" />
<ThemeCard title="Luma" value="luma" description="干净、极简的设计,为精致的文档体验而生。" href="https://luma.mintlify.site" />
</div>
</div>