Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

rbtr-lang-rst

reStructuredText support for rbtr. A default plugin — installed with rbtr itself (pip install rbtr).

What it ingests

A custom chunker: it reconstructs the section hierarchy from the order of adornment characters (RST has no fixed heading levels), each section a chunk scoped by its ancestors. Cross-references are extracted as imports.

  • Sections — headings (underline and overline adornments) → doc sections, with scope the :: chain of enclosing sections. A document with no heading at all — a README, a changelog — gives each top-level block its own section instead: paragraphs, lists, directives, literal blocks, link targets.
  • References — the :func: / :class: / :meth: / :mod: / :doc: roles, `text <target>`_ references, and .. toctree:: entries → imports. External URLs and same-file anchors are skipped.

Chunks produced

Title              doc_section "Title"
=====
Section            doc_section "Section", scope "Title"
-------
See :func:`helper` and :doc:`api/index`.
                   import {names: helper}; import {module: api/index}

Embedded / injected chunks

None. RST does not embed other languages.

Grammar & dependencies

Uses the tree-sitter-rst grammar. No runtime dependency on other language plugins; the test suite dev-depends on rbtr-lang-python to extract the sample's helpers.py and snapshot the .rst → .py reference edges.

Metadata

Release files for rbtr-lang-rst 2026.9.0.dev1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rbtr-lang-rst 2026.9.0.dev1
File Size Uploaded
rbtr_lang_rst-2026.9.0.dev1.tar.gz 12.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rbtr-lang-rst 2026.9.0.dev1
File Interpreter ABI Platform
rbtr_lang_rst-2026.9.0.dev1-py3-none-any.whl Python 3 none any Details

Total release size: 30.2 kB

Release files / rbtr_lang_rst-2026.9.0.dev1.tar.gz

Download URL rbtr_lang_rst-2026.9.0.dev1.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
88b75d53f56aca04022f392fab02280df1ee25814cb8259b92fada0d4fc28cd5
BLAKE2b-256 checksum
How to use checksums
d565aa565c7a9c761d27cf0eff1bccfc91345cde4b3c82d96be773182f213c4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / rbtr_lang_rst-2026.9.0.dev1-py3-none-any.whl

Download URL rbtr_lang_rst-2026.9.0.dev1-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d305b4f7bcb24bb70120f9aa9f4a5de7dc28d7078a929556677594d674b2c15f
BLAKE2b-256 checksum
How to use checksums
b9f0d5c405c54127a4a0ad9348692b09995e7d73991e83997db36b0791aa67f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page