mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
fbdd913d8e
* Add translation tracker for stale translations audit Generated-By: mintlify-agent * translations: add missing pages and update content for es, fr, zh Phase 1: Add translations for 4 new API analytics pages (feedback-by-page, searches, views, visitors) in es, fr, and zh. Phase 2: Update 3 pages with content changes: - agent/workflows: add "Disable a workflow" subsection - ai/skillmd: add 24-hour generation note - editor/publish: add AI PR title tip, reformat publishing workflows, promote "Publish your changes" heading from h3 to h2 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * update descriptions * translations * translations * translations * Delete TRANSLATION_TRACKER.md * translations * a * a * translations * translations * translations * translations * translations * translations * translations * translations * Update use-cases.mdx * translations * translations * Update ai-native.mdx * Update accordions.mdx * Update accordions.mdx * Update accordions.mdx * translations * translations * Update fonts.mdx * translations * translations: update SEO descriptions for es, fr, zh (150 pages) Update the description: frontmatter field across 150 pages × 3 languages to match the current English descriptions updated on 2026-03-31. 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>
35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
---
|
|
title: "Stainless"
|
|
description: "在你的 API 操作台中展示由 Stainless 自动生成的类型安全 SDK 代码示例,支持 Python、TypeScript 等多种语言。"
|
|
keywords: ["Stainless SDK", "SDK 生成", "API 客户端库", "类型安全的 SDK"]
|
|
---
|
|
|
|
<div id="prerequisites">
|
|
## 先决条件
|
|
</div>
|
|
|
|
* 拥有一个 [Stainless](https://app.stainless.com) 账号。
|
|
|
|
<div id="set-up-the-integration">
|
|
## 设置集成
|
|
</div>
|
|
|
|
<Steps>
|
|
<Step title="在 Stainless 中设置 OpenAPI 配置。">
|
|
在你的 `stainless.yml` 配置文件中,添加 `openapi.code_samples: 'mintlify'`。更多信息请参阅 [Stainless 文档](https://app.stainless.com/docs/guides/integrate-docs)。
|
|
</Step>
|
|
|
|
<Step title="发布你的 OpenAPI 规范 URL。">
|
|
在你的 Stainless 项目中:
|
|
|
|
1. 选择 **Release** 标签页。
|
|
2. 选择 **Setup OpenAPI publishing**。
|
|
3. 复制指向你公开可访问的 OpenAPI 规范的 URL。
|
|
|
|
<img src="/images/stainless-public-OpenAPI-spec.png" alt="Stainless 发布页面,其中用绿色框突出显示了 OpenAPI 规范的 URL。" />
|
|
</Step>
|
|
|
|
<Step title={<>将你的 OpenAPI 规范 URL 添加到 <code>docs.json</code>。</>}>
|
|
在你的 `docs.json` 文件中,将来自 Stainless 的 URL 添加到 `openapi` 字段。更多信息请参阅 [OpenAPI 设置](/zh/api-playground/openapi-setup)。
|
|
</Step>
|
|
</Steps> |