Metadata-Version: 2.4
Name: rbtr-lang-yaml
Version: 2026.9.0.dev1
Summary: rbtr — YAML language plugin
Keywords: code-search,code-index,tree-sitter,static-analysis,semantic-search,developer-tools,yaml
Author: Alejandro Giacometti
Author-email: Alejandro Giacometti <alejandro.giacometti@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Text Processing :: Indexing
Classifier: Typing :: Typed
Requires-Dist: rbtr==2026.9.0.dev1
Requires-Dist: tree-sitter-yaml
Requires-Python: >=3.13
Project-URL: Homepage, https://github.com/janrito/rbtr
Project-URL: Repository, https://github.com/janrito/rbtr
Project-URL: Documentation, https://github.com/janrito/rbtr/tree/main/packages/rbtr-lang-yaml#readme
Project-URL: Issues, https://github.com/janrito/rbtr/issues
Project-URL: Changelog, https://github.com/janrito/rbtr/releases
Description-Content-Type: text/markdown

# rbtr-lang-yaml

YAML support for [rbtr]. Optional plugin — install with
`pip install rbtr[yaml]`.

[rbtr]: https://github.com/janrito/rbtr/tree/main/packages/rbtr#readme

## What it ingests

Top-level mapping keys become **config-key** chunks (YAML is data, not code).
Non-mapping YAML (a bare sequence or scalar) produces a single fallback chunk.

A `$ref` names another document, as OpenAPI splits a specification across
files, and becomes an **import**. So does a `uses` naming a path, which is how
a workflow reads an action kept in the same repository; a `uses` naming
anything else reads it from elsewhere and is left alone.

## Chunks produced

```yaml
name: CI          # config_key "name"
on: [push]        # config_key "on"
jobs:             # config_key "jobs"
  build: …
```

## Embedded / injected chunks

None. YAML does not embed other languages.

## Grammar & dependencies

Uses the `tree-sitter-yaml` grammar. No dependency on other language plugins.
