Documentation Standards¶
This guide establishes how documentation is organized across the Structum ecosystem.
Hierarchy¶
We follow a distributed documentation model to keep docs close to the code they describe, while maintaining a unified index.
Type |
Location |
Description |
|---|---|---|
Core Modules |
|
Documentation for built-in framework features (fallbacks, interfaces). |
Plugins (Index) |
|
High-level overview and index for official plugins. |
Plugins (Deep Dive) |
|
Detailed technical documentation, architecture, and usage guides. Should be shipped with the plugin source. |
Applications |
|
Application-specific documentation (e.g., specific env vars, business logic). |
Writing Guide¶
Plugins¶
Index Page (
docs/plugins/<name>.md):Must exist in the main repo.
Must contain a brief summary (“What is this?”).
MUST link to the internal docs for details.
Internal Docs (
src/<plugin>/docs/):architecture.md: How it works internally.usage.mdorconfiguration.md: How the user interacts with it.
Applications¶
Applications (like demo) should not document general framework features (like “How Dynaconf works”). They should focus on:
Actual Configuration Models used (
BackendConfig,EdgeConfig).Specific Environment Variable prefixes (
SUPERAPP_...).Deployment instructions.