Proposal: Reorganize documentation using the Diátaxis documentation system #9317
Replies: 2 comments 2 replies
-
It's already documented as our official strategy in https://tekton.dev/docs/contribute/doc-con-content/ through the work of @tualeron @geriom and others. We made a start on cleaning up some of the content, adding initial tutorials, etc. through the docs working group at the time, but didn't tackle a big reorganisation of the structure. As often happens, features, fixes, and other improvements took priority over further documentation updates, and people moved on to other projects, so there's still plenty to do. |
Beta Was this translation helpful? Give feedback.
-
Phase 1 Complete: Documentation AuditFollowing up on this proposal — I've completed the Phase 1 audit of all 64 docs in Key numbers
Critical gaps
The main problemThe 6 biggest docs ( Proposed priorities
The audit includes detailed reading flows showing how split docs link together — so users always know where to go next (tutorial → how-to → reference, with sideways links between related how-tos and upward links to explanations). Estimated effort: 3-5 weeks distributed across contributors. Happy to start creating tracking issues if there's alignment on priorities. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I'd like to propose adopting the Diátaxis documentation system as a framework for organizing and improving Tekton's documentation. This system provides a clear mental model for both writers and readers, making documentation easier to maintain and navigate.
/cc @tektoncd/core-maintainers
What is Diátaxis?
Diátaxis (from Greek "dia" = across, "taxis" = arrangement) recognizes that documentation serves four distinct purposes, each requiring a different approach:
The key insight is that mixing these types creates documentation that serves none of its purposes well. A tutorial interrupted by reference material loses the learner; a reference cluttered with explanations is hard to scan.
Current State Analysis
Tekton's documentation is comprehensive and covers the features well. However, when viewed through the Diátaxis lens, we can identify opportunities for improvement:
Strengths:
api-spec.md,pipeline-api.md)Areas for Enhancement:
Tutorials are limited - We have installation docs, but no true "learning journey" that takes a beginner from zero to productive. New users often struggle to understand the relationship between Tasks, Pipelines, and Runs.
Hybrid documents - Files like
tasks.mdcombine conceptual explanation ("what is a Task?"), how-to guidance ("how to create a Task"), and reference material (field specifications). This makes them long and hard to navigate.How-to guides aren't problem-oriented - Users with specific problems ("How do I pass data between tasks?", "How do I run tasks conditionally?") have to hunt through feature documentation rather than finding targeted solutions.
Explanations are developer-focused - Architecture rationale exists in
/docs/developers/but user-facing "why" documentation is sparse. Understanding why Tekton works the way it does helps users make better decisions.Proposed Approach
Phase 1: Audit & Classification
Phase 2: Structural Changes
Consider reorganizing documentation into clear sections:
Phase 3: Content Development
Phase 4: Style Guide
Benefits
Prior Art
This framework is used by many successful projects:
Questions for Discussion
Next Steps
If there's community interest, I'd propose:
I'm happy to help drive this effort and would welcome collaborators.
References:
Beta Was this translation helpful? Give feedback.
All reactions