Key Principles of Documentation Creation

Publication date: 2025-02-12

Terminology

Introduction

Documentation is the process of synchronizing the cognitive context of the audience (people and LLMs). The goal is to provide a comprehensive understanding of the subject, starting with general concepts and moving to details. Information is presented hierarchically, without duplication, allowing both quick familiarization and deep dive.

Reader's Context Immersion

The documentation structure should facilitate the reader's quick immersion into the cognitive context of the subject. This is achieved through logic, sequence, and sufficient depth of presentation.

Hierarchy and Structure

Information is presented by levels: from general to specific. Each level complements the previous one and forms a coherent sequence focused on the reader's current tasks.

Documentation Levels

Volume Recommendations

Navigation Accessibility

Documentation is an interconnected structure where each document covers one aspect. Hyperlinks, tables of contents, and cross-references should aid navigation. The reader should always understand their position in the structure and have the ability to jump to related topics or return to the overview.

LLM Orientation

Documentation should account for language models' characteristics and be formatted in Markdown. Key information should be at the beginning of sections. It's important to use consistent terminology and avoid ambiguity. The structure should be logical, hierarchical, with clear heading and list markup. Sections should be self-contained but interconnected.