-
-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No docs for rust classes #258
Comments
Is this not the exact same issue you reported under #178? |
No i dont think so, its supposed to like say |
yeah, you can open documentation for custom rust classes in godot just fine. but this seems like clicking on that type in the docs for a different class/method doesn't lead you to the docs for the class? which is weird. im guessing we're exposing the type of the arguments wrong somehow. maybe the docs rely on something like the hint_string of the argument to find the right docs to go to. I'll have a look at it. |
Actually some of the video seems to have cut, i opened the class searcher, to search for |
is this with the repo you have on your github? could you provide a specific commit hash that reproduces the issue if so? |
It is, i specified the commit hash in the main description. its also prebuilt, so the artifacts are here. There shouldnt be a difference from official though as thats the normal build, which only turns off deprecated code and applys a patch or 2. |
i thought the hash in the main description was for godot not your repo |
It builds godot with patches and options, it doesnt fork godot. |
i think this is an upstream bug. it seems godot recently made some big changes in master to how documentation is generated. (see for instance godotengine/godot#72095, there are also other commits that impact doc-gen). and this issue does not show up on 4.1 dev 1. but it shows up in at least two different recently built godot builds. but i havent quite been able to find out exactly why this is broken here but i dont think this is an issue with our bindings. |
Ill see if i can bisect. |
Bisected, im told 53191928e597d15a709b53abe1870b9f3607af1c caused it. Quite a few regressions that PR caused! |
Thanks a lot for investigating! 👍 Do you know if there's already an issue in the |
The upstream issue godotengine/godot#76796 was fixed recently, this can maybe be closed now? |
@RedMser have you tested that Rust classes show up in the editor? 🙂 In the future we could maybe allow |
It does seem to work for me on 4.3 latest master yes.
Seems to already be a separate issue here: #178 |
You're right. Thank you! 👍 |
nodoc.mp4
NEAT
is a rust class extendingRefCounted
, and the doc page is just empty.Godot version
8c729f0f3
The text was updated successfully, but these errors were encountered: