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.dev3

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.dev3
File Size Uploaded
rbtr_lang_rst-2026.9.0.dev3.tar.gz 12.0 kB Details

Built distribution (wheel)

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

Total release size: 30.2 kB

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

Download URL rbtr_lang_rst-2026.9.0.dev3.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b2c528eb75b419ba6aab2030dc3647e45ce04228073fff8ff062d22d59bd7acb
BLAKE2b-256 checksum
How to use checksums
9ffe542531bf01ebfdfec08ef31e502682436c8b5ec8219cd6a5fa2fad996fec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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

Download URL rbtr_lang_rst-2026.9.0.dev3-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba6710db23e33010efb49d51b91761c26d4e0286a35fda54b680c71f2d3d16fd
BLAKE2b-256 checksum
How to use checksums
e3902134e2a6569ed375b8cc1fe7ba4975daab91e5b474b02628f39c813674a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
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