The Code Folder
ZAYAZ Documentation Examples & Associated Folder Structure
A curated library of example documents, patterns, and templates used across the ZAYAZ documentation ecosystem.
Purpose
These folders provide canonical examples of how to structure, format, and implement documentation within the ZAYAZ knowledge system.
It acts as a shared reference for engineers, product teams, module owners, and technical writers working on:
- Micro-engine specifications
- Module specifications
- Compliance schemas
- Data tables & signals
- Integration guides
- Developer onboarding materials
The collection ensures uniformity, quality, and reusability across all documentation artifacts.
⸻
Folder Structure — Associated Files
The associated-files directory mirrors the structure of the ZAYAZ Manual (the MDX files in /content). Its purpose is to ensure that every chapter, micro-engine, module, calculation, or guide has a clean home for its supporting materials:
- Example code
- JSON schemas
- Excel input/output models
- Reference datasets
- Simulation scripts
- Images & diagrams
- Notebook-style explorations
- Any engine-specific artifacts
This allows developers, reviewers, and AI systems (e.g., Ask ZARA) to reliably locate all files belonging to a specific manual chapter.
⸻
How the Mapping Works
A manual page such as:
/workspaces/zayaz-docs/content/computation-hub-calcs/micro-engines/carbon-price-engine.mdx
…will have its supporting files stored in the parallel path:
/workspaces/zayaz-docs/code/associated-files/computation-hub-calcs/micro-engines/carbon-price-engine/
This 1:1 structural reflection ensures clarity and enables future automation:
- Documentation linting & validation
- Indexer ingestion of examples
- Automatic example linking in MDX
- Retrieval for Ask ZARA’s tool features
Note: Excel files are stored in a flat shared directory and linked directly from MDX pages. This avoids deep directory nesting for binary assets while keeping reference integrity.
⸻
Example Structure Excerpt
Below is an illustrative subset of the folder structure (real content varies depending on development progress):
docs-examples/
│
├── ...
│
├── computation-hub-calcs/
│ ├── monte-carlo-sims/
│ ├── bayesian-model/
│ ├── emission-intel/
│ ├── netzero-modeling/
│ └── zara-autonomous-asst/
│ ├── zara-completion-engine/
│ ├── zara-memory-flow/
│ └── zara-reasoning-engine/
│
├── reports-hub-dashboards/
│ ├── pratibha-esg-wisdom/
│ ├── source-metric-area/
│ ├── telemetry-dash/