godotengine / godot-docs

Godot Engine official documentation
https://docs.godotengine.org
Other
3.9k stars 3.19k forks source link

Inheritance graphic update #3153

Closed jcmonkey closed 4 months ago

jcmonkey commented 4 years ago

https://docs.godotengine.org/en/3.2/development/cpp/inheritance_class_tree.html

Under this document page there is a resource graphic that could use the addition of the mono module.

mono->script->resource.

GDScript already has one that shows it inherits from script, but there isn't one for mono.

Now i understand this might be a minor issue, but it may help some people in the future.

Just thought i would let you guys know about it.

PS. if there was a page explaining how the mono module works added in the future, that would also be great. thanks!

Xrayez commented 4 years ago

This certainly needs an update especially for Godot 4.0.

I've discovered Sourcetrail source explorer and with the compilation database support added in godotengine/godot#32848 we could write instructions on how to create a Sourcetrail project to view Godot's inheritance and other neat stuff there:

object-many

@fire may also give some ideas, as I've found this through one of his replies at Godot's Discord. 🙂

fire commented 4 years ago

On Windows, compilation db works.

scons platform=windows use_llvm=yes use_mingw=yes -j16 target=debug werror=no compiledb=yes",

Possible adjustments include using target=release_debug.

This uses https://github.com/mstorsjo/llvm-mingw.

  1. Ensure mingw-llmv is installed in the path correctly
  2. scoop install sourcetrail
  3. Launch source trail
  4. Add compilation json to the project.
  5. Index every single file
  6. Search for ClassDB term
  7. Save as SVG.
  8. Note that my version is a custom engine, so you need to refresh. DON'T USE.
  9. The website needs a large image widget.

ClassDB.zip

fire commented 4 years ago

[NOTE not latest master and customized]

Converted svg to png with affinity designer.

ClassDB

RadiantUwU commented 1 year ago

https://docs.godotengine.org/en/stable/contributing/development/core_and_modules/inheritance_class_tree.html

RadiantUwU commented 1 year ago

Still here.