| 1 | # Developer Documentation |
| 2 | |
| 3 | This directory contains internal documentation for go-yaml developers and |
| 4 | contributors. |
| 5 | |
| 6 | ## Contents |
| 7 | |
| 8 | - **[go-yaml-internals.md](go-yaml-internals.md)** - Comprehensive analysis |
| 9 | of the load and dump stack internals, including all stages, transforms, |
| 10 | security features, and architectural issues |
| 11 | - **[how-go-yaml-works.md](how-go-yaml-works.md)** - High-level overview of |
| 12 | how go-yaml processes YAML |
| 13 | - **[dump-load-api.md](dump-load-api.md)** - API documentation for dump and |
| 14 | load operations |
| 15 | |
| 16 | ### Mermaid Diagrams |
| 17 | |
| 18 | - **[pipeline-overview.mmd](pipeline-overview.mmd)** - Complete processing |
| 19 | pipeline from bytes to Go values and back, showing the symmetric 3-stage |
| 20 | load/dump architecture with Resolver and Desolver stages |
| 21 | - **[call-hierarchy.mmd](call-hierarchy.mmd)** - Function call hierarchy |
| 22 | showing pull-based (load) vs push-based (dump) architecture |
| 23 | - **[comment-flow.mmd](comment-flow.mmd)** - Comment handling flow through |
| 24 | Scanner → Parser → Composer |
| 25 | |
| 26 | ## For Users |
| 27 | |
| 28 | User-facing documentation is in the parent [docs/](../) directory: |
| 29 | - [README.md](../README.md) - Main documentation index |
| 30 | - [options.md](../options.md) - Configuration options reference |
| 31 | - [v3-to-v4-migration.md](../v3-to-v4-migration.md) - Migration guide for |
| 32 | upgrading from v3 to v4 |