From 74d7ab9818b5c77dc6a8f3d7ebb5d56c7dc19388 Mon Sep 17 00:00:00 2001 From: TeeJS <4136437+TeeJS@users.noreply.github.com> Date: Fri, 4 Sep 2026 19:16:54 -0600 Subject: [PATCH] Add gdscript and godot package definitions Two unversioned definitions built from godotengine/godot-docs at ref stable (Godot 4.7): gdscript/gdscript docs_path tutorials/scripting/gdscript 9 files, 129 sections, 60,921 tokens, 0 skipped godot/godot whole repo 1,604 files, 14,488 sections, 8,136,611 tokens, 0 skipped Built at godot-docs 6d86d7c7f3b8f4f56c71e113022d72fe80b2c84d and reproduced independently three times across node 22/24 and context 1.2.4/1.2.5 with identical file, section and token counts. gdscript is scoped to the GDScript subtree rather than to tutorials/scripting because the wider path is 40% C# by section count (208 of 515), and C# wins the ranking for the most common lookups -- under the product's own bm25 weights, none of the top five results for "signal" is GDScript. Git sources have no exclude_paths, so narrowing the path is the only way to get a GDScript package that returns GDScript. Everything the narrow path omits, including the @GDScript and @GlobalScope built-ins in classes/, is covered by the godot package, and each description points at the other. godot-docs is licensed CC-BY 3.0 Unported. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01TWBBpEmsr5oyEhamfREYNx --- registry/gdscript/gdscript.yaml | 9 +++++++++ registry/godot/godot.yaml | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 registry/gdscript/gdscript.yaml create mode 100644 registry/godot/godot.yaml diff --git a/registry/gdscript/gdscript.yaml b/registry/gdscript/gdscript.yaml new file mode 100644 index 0000000..2a41a6d --- /dev/null +++ b/registry/gdscript/gdscript.yaml @@ -0,0 +1,9 @@ +name: gdscript +description: "GDScript language syntax for Godot 4 — keywords, operators, control flow and match, classes and inheritance, functions and lambdas, static typing, @export and the annotation catalog, signals and await, doc comments, the warning system, and the official style guide. Language syntax only: for the built-in functions (preload, load, inst, range, str, print, push_error) and for engine APIs and node classes, use the godot package instead." +repository: https://github.com/godotengine/godot-docs + +source: + type: git + url: https://github.com/godotengine/godot-docs + ref: stable + docs_path: tutorials/scripting/gdscript diff --git a/registry/godot/godot.yaml b/registry/godot/godot.yaml new file mode 100644 index 0000000..27c8163 --- /dev/null +++ b/registry/godot/godot.yaml @@ -0,0 +1,8 @@ +name: godot +description: "Godot Engine 4 documentation — the complete class reference (every node, resource and singleton, plus the @GDScript and @GlobalScope built-in functions and constants) together with the engine tutorials: 2D and 3D, physics, animation, rendering, UI, navigation, multiplayer, shaders, plugins and exporting. For GDScript language syntax, use the gdscript package instead." +repository: https://github.com/godotengine/godot-docs + +source: + type: git + url: https://github.com/godotengine/godot-docs + ref: stable