Diátaxis
Diátaxis

原始链接: https://diataxis.fr/

Diátaxis 是一个用于技术文档的系统化框架,旨在使内容创作与特定的用户需求保持一致。该方法论源自古希腊语中的“安排”一词,将文档组织为四种不同的形式:教程、操作指南、技术参考和解释。 通过根据用户意图对内容进行分类,Diátaxis 为解决文档内容、风格和架构方面的常见挑战提供了一个清晰、轻量级的结构。它旨在做到直观且灵活,为维护者提供了一致的质量准则,从而改善读者的体验并优化贡献者的工作流程。 Diátaxis 在业界得到了广泛采用,并在 Vonage、Gatsby 和 Cloudflare 等公司得到了成功应用,它为信息架构提供了可靠的“北极星”指引。它简化了开发者的决策过程,确保信息组织逻辑清晰且易于查找,最终构建出一个更高效、更可持续的文档生态系统。

Hacker News 上的一场讨论再次关注了 **Diátaxis**,这是一种用于技术文档写作的系统性框架。 参与者们分享了对该方法的不同看法: * **LLM 的实用性:** 多位用户指出,在使用 AI 生成文档时,Diátaxis 非常有效,它为获得高质量的“初稿”提供了结构化的模板。 * **认知的“诅咒”:** 一位评论者开玩笑地告诫人们不要学习这个框架,因为一旦理解了其原则,你就会敏锐地察觉到大多数现有文档是多么混乱和充满缺陷。 * **反复出现:** 该讨论串还提到,这个话题经常被讨论,用户们纷纷分享了过往深度交流的链接。 总的来说,社区公认 Diátaxis 是清晰表达的标准,尽管有时人们更愿意对其他文档的结构性缺陷保持“无知之乐”。
相关文章

原文

A systematic approach to technical documentation authoring.


Diátaxis is a way of thinking about and doing documentation.

It prescribes approaches to content, architecture and form that emerge from a systematic approach to understanding the needs of documentation users.

Diátaxis identifies four distinct needs, and four corresponding forms of documentation - tutorials, how-to guides, technical reference and explanation. It places them in a systematic relationship, and proposes that documentation should itself be organised around the structures of those needs.

Diátaxis

Diátaxis solves problems related to documentation content (what to write), style (how to write it) and architecture (how to organise it).

As well as serving the users of documentation, Diátaxis has value for documentation creators and maintainers. It is light-weight, easy to grasp and straightforward to apply. It doesn’t impose implementation constraints. It brings an active principle of quality to documentation that helps maintainers think effectively about their own work.


The best way to get started with Diátaxis is by applying it after reading a brief primer.

These pages will help make immediate, concrete sense of the approach.

This section explores the theory and principles of Diátaxis more deeply, and sets forth the understanding of needs that underpin it.


Diátaxis is proven in practice. Its principles have been adopted successfully in hundreds of documentation projects.

Diátaxis has allowed us to build a high-quality set of internal documentation that our users love, and our contributors love adding to.

—Greg Frileux, Vonage

At Gatsby we recently reorganized our open-source documentation, and the Diátaxis framework was our go-to resource throughout the project. The four quadrants helped us prioritize the user’s goal for each type of documentation. By restructuring our documentation around the Diátaxis framework, we made it easier for users to discover the resources that they need when they need them.

Megan Sullivan

While redesigning the Cloudflare developer docs, Diátaxis became our north star for information architecture. When we weren’t sure where a new piece of content should fit in, we’d consult the framework. Our documentation is now clearer than it’s ever been, both for readers and contributors.

Adam Schwartz

联系我们 contact @ memedata.com