Skip to content

Providing API docs similar to pyimgui #491

Description

@kushalkolar

Hi! I'm one of the maintainers of fastplotlib and we and our collaborators/users use imgui via imgui-bundle a lot. One minor inconvenience right now is that there's no "API docs" for imgui-bundle in the sense that I can for example lookup how to create a slider, what it looks like, and what the args and flags are all in one place. We usually look at the pyimgui API docs to get an idea of the UI element we want, but there are differences between the args in pyimgui and the python bindings of imgui-bundle so we then lookup the source code within imgui-bundle to finalize what we need.

I'm not the biggest fan of LLMs but I did get claude to create a sphinx extension to auto-gen API docs similar to pyimgui for the imgui-bundle python bindings, and uses the wgpu offscreen renderer to create screenshots of each example to show what the UI element looks like: fastplotlib/fastplotlib#1066 (comment)

I think this could be of general use to other imgui-bundle users so I'm wondering if you think it would make sense to have docs like this here.

Thanks for continuing to maintain this! Imgui lets us create UIs that run anywhere, it's especially useful when we run visualization apps on remote compute infrastructure where you can't use Qt. 😄

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