Buckets:

download
raw
2.8 kB
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import sys
from pathlib import Path
sys.path.insert(0, Path("../..").resolve())
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = "TreeSitter Chunker"
copyright = "2025, ViperJuice"
author = "ViperJuice"
release = "2.2.22"
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.napoleon",
"sphinx.ext.viewcode",
"sphinx.ext.intersphinx",
"sphinx.ext.todo",
"sphinx.ext.coverage",
"sphinx.ext.githubpages",
"sphinx_autodoc_typehints",
]
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
# Napoleon settings
napoleon_google_docstring = True
napoleon_numpy_docstring = False
napoleon_include_init_with_doc = True
napoleon_include_private_with_doc = False
napoleon_include_special_with_doc = True
napoleon_use_admonition_for_examples = False
napoleon_use_admonition_for_notes = False
napoleon_use_admonition_for_references = False
napoleon_use_ivar = False
napoleon_use_param = True
napoleon_use_rtype = True
napoleon_preprocess_types = False
# Autodoc settings
autodoc_default_options = {
"members": True,
"member-order": "bysource",
"special-members": "__init__",
"undoc-members": True,
"exclude-members": "__weakref__",
}
# Autosummary settings
autosummary_generate = True
# Intersphinx mapping
intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
"tree_sitter": ("https://tree-sitter.github.io/py-tree-sitter/", None),
}
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = (
"alabaster" # Using default theme - sphinx_rtd_theme incompatible with Sphinx 9
)
html_static_path = ["_static"]
html_title = "TreeSitter Chunker Documentation"
html_short_title = "TreeSitter Chunker"
html_show_sourcelink = True
# -- Options for LaTeX output ------------------------------------------------
latex_elements = {
"papersize": "letterpaper",
"pointsize": "10pt",
"preamble": "",
"figure_align": "htbp",
}
# Grouping the document tree into LaTeX files
latex_documents = [
(
"index",
"treesitter-chunker.tex",
"TreeSitter Chunker Documentation",
"ViperJuice",
"manual",
),
]

Xet Storage Details

Size:
2.8 kB
·
Xet hash:
08c2b87ba34bc515fafe6f5c2b9934938f596499751664ba93699e1b5322e04a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.