How to export Godot 4 documenting comments to XML?
Your Godot version: 4.0.alpha14
Issue description: The docs page for "documenting comments" says we can export our own GDScript generated documentation as XML in the end of the first paragraph, but it never explains how to do it.
Am I missing something I should already know? Or is that feature not ready yet?
If this is already possible it would be neat to add a section in that page for how to export it to XML.
URL to the documentation page (if already existing): https://docs.godotengine.org/en/latest/tutorials/scripting/gdscript/gdscript_documentation_comments.html
I'm not sure if you can actually export XML from GDScript documentation comments, or if the page is just saying that the documentation comments can be interpreted as if they were XML.
hum! the way it's phrased I had interpreted as I would be able to export my documentation as XML, which would be pretty useful to integrating with say, an online docs website for a godot plugin or something. But if that is not a feature, maybe rephrasing that XML part would be better?
It will be possible to export it to any format you want via a general purpose API. See https://github.com/godotengine/godot/pull/64541.
There was an idea by the original implementer of the documentation comment feature to provide a UI that would support some common formats, but IMO this is an extra feature and it's better to solve this on per-project level. The API mentioned above would provide the tools and you can build a bespoke solution for the format that works with your online platform.
The documentation should be rephrased to match the current state of affairs.