Skip to main content

sphinxcontrib-tree-sitter

Use tree-sitter to highlight code blocks in Sphinx.

Usage

docs/conf.py:

extensions = [
    "sphinxcontrib.tree_sitter",
]

pyproject.toml:

# ...
[project.optional-dependencies]
dev = [
  "sphinx",
  "tree-sitter-XXX",
]
uv sync
source .venv/bin/activate
sphinx-build docs _readthedocs/html
xdg-open _readthedocs/html/index.html

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinxcontrib_tree_sitter-0.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinxcontrib_tree_sitter-0.0.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file sphinxcontrib_tree_sitter-0.0.1.tar.gz.

File metadata

  • Download URL: sphinxcontrib_tree_sitter-0.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"26.11","id":"zokor","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sphinxcontrib_tree_sitter-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c2c5bc30295b6414977047df6ab0c82265c5c5c82c1c0159113a8d7b5b4de9f0
MD5 efa6c3ef638432b26e2f0bc7639599d9
BLAKE2b-256 860589db820eb168ad4367173905c16bfdef5063df8c7ef1c6291f53539a6052

See more details on using hashes here.

File details

Details for the file sphinxcontrib_tree_sitter-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: sphinxcontrib_tree_sitter-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"26.11","id":"zokor","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sphinxcontrib_tree_sitter-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 211b9a27e37dd03b82940b5732d85d956225f4001c460f8466ba4aaa8bacd14c
MD5 c191cbc32eef67facff0885a7a11e300
BLAKE2b-256 f0500a0e43039056fd519b6e947083a6527b68ed86a5091ae30a1898feb426ec

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.3

2 files

0.0.2

2 files

This release

0.0.1 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page