Skip to content

Expose documentation tool for godot rust projects #42

@astrale-sharp

Description

@astrale-sharp

Hi there, i have found a very interesting tool that i think we should mention in the book.
gdnative-doc parses the documentation in the rust code and generate the documentation in markdown (that can be shipped with an addon you're developping for instance)
It can also take your doc test in ```gdscript and put them into a test_file so they can be run by Gut.
Its also flawlessly integrated into cargo

It is used in a project i contributed to

It would be pertinent to look at

  1. the build.rs file
  2. the structure exported to godot
  3. the generated doc
  4. the generated Test

This could all be part of a section about developping addons in godot-rust for instance (which i would be interested in writing) what do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions