this post was submitted on 24 Oct 2024
20 points (100.0% liked)

Godot

5884 readers
1 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

!roguelikedev@programming.dev

Credits

founded 1 year ago
MODERATORS
 

I want to integrate the online documentation a bit nicer into the editor itself. Is it somehow possible to query that page and get the contents of the searched-for entries?

Best case would be, if we can get the queried site content as JSON, that'd be nice, but very unlikely I think.

you are viewing a single comment's thread
view the rest of the comments
[–] Smorty@lemmy.blahaj.zone -2 points 3 weeks ago* (last edited 3 weeks ago)

It is true that the editor has the build in class reference. I have already tried to retrieve the text from when that pops up, and I have managed to do that partly, however it doesn't segment anything. The reason why I want a cool format like JSON or maybe YAML is that I can parse it and separate it into variables, which can then be nicely display in smaller UI elements.

::: spoiler secret reason why I want to segment the docs (CW: overhyped topic) Okay, don't tell this to anyone, because many people don't want to hear anything about this topic, which is reasonable: it's abnoxious and overhyped.

whispering: ~The~ ~reason~ ~I~ ~want~ ~to~ ~segment~ ~the~ ~docs~ ~is~ ~because~ ~I~ ~want~ ~to~ ~embed~ ~them~ ~and~ ~use~ ~them~ ~as~ ~structured~ ~input~ ~for~ ~a~ ~locally~ ~running~ ~LLM~ ~for~ ~better~ ~context.~

shocked crowd sound

I already made two posts about this on here: This one and this one. :::