How avaneesh12012/janko-docs works
Purpose and Scope
This repository is the documentation and error-reference content for the Janko compiler ecosystem. Its durable product is a set of CLI-parsable error guides; the README also describes a documentation website, but its referenced sites/ source files are not present in the supplied tree.
Primary Entry Points
• README.md defines repository intent, expected documentation-site behavior, and the error-guide convention.
• docs/ is the effective content entry point for consumers that resolve compiler error codes to text guides.
• assets/asset.md and the assets/ directory support documentation assets; the README references a banner image not visible in the supplied tree.
Error Reference Corpus
Each compiler diagnostic is represented as a standalone text document named by error code:
• docs/E0001.txt
• docs/E0002.txt
• docs/E0010.txt
This naming scheme is the main contract between Janko compiler/CLI diagnostics and this repository. A consumer can map an emitted code such as E0001 directly to docs/E0001.txt without requiring an index, database, or application runtime.
Error-Code Organization
The corpus currently uses two storage patterns:
• Early codes live directly under docs/, such as docs/E0003.txt.
• Later codes are grouped in a range directory, such as docs/E0011-E0020/E0011.txt and docs/E0011-E0020/E0012.txt.
Any CLI or website content resolver must account for both layouts, either through explicit lookup rules, a generated index, or a recursive file search. This directory boundary is architecturally significant because it prevents assuming a flat error-code namespace on disk.
Consumer and Content Flow
The intended flow is:
1. The native Janko developer tool emits or receives an error code.
2. A documentation resolver locates the corresponding file under docs/.
3. Raw text is presented directly by the CLI and, per README.md, may also feed a web terminal/documentation interface.
The repository itself contains content rather than compiler implementation code. There is no visible build pipeline, server, package manifest, native source, or deployed runtime in the supplied tree.
Website Boundary
README.md describes a static interactive site with landing-page HTML, CSS, and JavaScript for tabs, search, and terminal simulation. Those expected paths are not present in this checkout. Therefore, web UI behavior should be treated as an external or omitted layer, while docs/ remains the shared source-of-truth boundary between CLI and any future site implementation.
Documentation Governance
LICENSE provides the repository license boundary. Adding or revising diagnostics should preserve the code-to-filename contract and existing range-directory conventions. The numbered files under docs/ are the architecture-defining artifacts; changes to their identifiers or locations can break external compiler/CLI resolution.
Main entry points: docs Error guide corpus · E0001.txt Early flat guides · E0011-E0020 E0011–E0020 range · README.md Repository guide
Components 15
Reference Content
Versioned error-guide corpus and supporting assets.
- Error guide corpus · Source of truth for code-to-guide resolution.
docs - Early flat guides · Directly stored error-code documents.
docs/E0001.txt - E0002 guide
docs/E0002.txt - E0003 guide
docs/E0003.txt - E0011–E0020 range · Later codes are grouped by range.
docs/E0011-E0020 - E0011 guide
docs/E0011-E0020/E0011.txt - E0012 guide
docs/E0011-E0020/E0012.txt - Documentation assets · Supports documentation presentation.
assets - Asset guide
assets/asset.md
External Consumers
Compiler and web layers are not present in this checkout.
- Janko developer tool · Emits or receives compiler diagnostic codes.
- Error guide resolver · Must support flat and range-directory layouts.
- CLI error guide output · Presents resolved raw guide text.
- Documentation website · Referenced by the README but absent from this checkout.
Other components
- Repository guide · Defines intent, site expectations, and error-guide conventions.
README.md - License · Governs repository content.
LICENSE
Connections 14
- Repository guide → Error guide corpus: defines convention
- Repository guide → Documentation website: describes
- Janko developer tool → Error guide resolver: error code
- Error guide resolver → Error guide corpus: locates guide
- Error guide resolver → Early flat guides: direct lookup
- Error guide resolver → E0011–E0020 range: range lookup
- Early flat guides → E0002 guide: same flat layout
- Early flat guides → E0003 guide: same flat layout
- E0011–E0020 range → E0011 guide: contains
- E0011–E0020 range → E0012 guide: contains
- Error guide resolver → CLI error guide output: raw guide text
- Error guide corpus → Documentation website: shared content source
- Documentation assets → Asset guide: contains
- License → Error guide corpus: governs