Skip to main content

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

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

Built distribution (wheel)

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

Total release size: 30.2 kB

Release files / rbtr_lang_rst-2026.9.0.tar.gz

Download URL rbtr_lang_rst-2026.9.0.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
83f83f8447d3c826d02233270a43caf1c6f281db1a4115aa240fb7e7e5992770
BLAKE2b-256 checksum
How to use checksums
884304d136b997844e73748a25c8ad35261b4d5402f4b4a0f202d4a1f7b91545
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-py3-none-any.whl

Download URL rbtr_lang_rst-2026.9.0-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1ff0b96a364c0074c8c7cf79c874a107fd8331db0ff1e22799fdf14c8df7b14
BLAKE2b-256 checksum
How to use checksums
32180d12a8b7f2f635c8ed8b05e70d2bd356177a58854ffbd0bccd07cf632959
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