Skip to content
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

API DOCS? #693

Closed
colesnicov opened this issue Jun 12, 2016 · 8 comments
Closed

API DOCS? #693

colesnicov opened this issue Jun 12, 2016 · 8 comments
Labels

Comments

@colesnicov
Copy link

colesnicov commented Jun 12, 2016

Hi Omar. Sorry for my english. Where i can foud API DOCS for your ImGui please? I missing PC and i programming on my Android Phone. I can not generate API DOCS for mi on this. You can generate it or tell mi where i can download it? Thanks and sorry for my english again - I'm Rus from Czech.

@ocornut
Copy link
Owner

ocornut commented Jun 12, 2016

Hello,
The documentation are implicit in imgui.h, top of imgui.cpp and all of imgui_demo.cpp (ShowTestWindow() function called by the example application). That's all we have for now, sorry.
Omar

@ocornut ocornut closed this as completed Jun 12, 2016
@RobertoMalatesta
Copy link

RobertoMalatesta commented Aug 19, 2016

Just to have a basic bird's view of the whole IMGUI I've created a small Doxygen conf.
I find it worth for peeking around with IMGUI code while deciding wether to adopt it in my projects or not.

Online output is here:
http://exedraos.com/imguidoxy/

The generating Doxyfile to be put inside imgui dir and executed with a simple doxygen call is here:

http://exedraos.com/imguidoxy/Doxyfile

Just my .000002 euro cents.

--R

@ocornut
Copy link
Owner

ocornut commented Aug 19, 2016

It doesn't seem to be providing much useful output there? The comments are lost, I can't find any of the naked functions which are 95% of ImGui.

@RobertoMalatesta
Copy link

These two points would have implied to modify your source comments, something I did not want/had the time to do.

Besides, you could not be interested in a DoxyGen documentation, so it all would factor into an unsolicited pull request.

I've updated it. Can you tell me the name of some naked function (one is enough) that do not get listed?
(you know, I'm just lurking from outside by now, so I don't have a clear idea of the inners).

--R

@ocornut
Copy link
Owner

ocornut commented Aug 19, 2016

I see that you have added a namespace tab now and those functions are now showing!
(Pretty much any useful function is a naked function in the namespace, E.g. ImGui::DragFloat() or ImGui::InputText() imgui rarely use oop)

You should omit anything in a directory as they aren't part of the core library.

You are correct that I am not ready to modify the imgui sources to include doxygen comments, because I think that as-is it would be detrimental and noisy to the project. I'm however very interested in the prospect of developing automated documentation (see e.g. #435), the question is merely to find out the right form for it and finding a suitable process and maybe a maintainer who are accustomed to the library.

Right now if you want to get acquainted to the project the best way is to read the documentation in imgui.cpp comments and run/mess around with the examples and the ShowTestWindow(). function.

@RobertoMalatesta
Copy link

RobertoMalatesta commented Aug 19, 2016

Good.
BTW: the code change won't be so intrusive since you should only use /// instead of // or /* instead of /.

I didn't use DoxyGen since 5 years and I did not remember a single damn of it, but it's so simple that I was up and running in matters of minutes.
The script as it is gobs out a lot of errors on glfw -- I don't know if I will ever fix it -- but glfw outputs a neat gob of structured info nevertheless.

ShowTestWindow is OK as a starting point, but I need something more top-down and for now Doxy fills the bill.

--R

@emoon
Copy link
Contributor

emoon commented Aug 20, 2016

As @ocornut say I think #435 a better fit and it would make it a bit easier to use for other documentation systems. In my case I would like to use the same documentation for my wrapper but re-generated to fit it. I know others are wrapping Imgui as well so a more generic approach would (imo) be better. That being said I haven't had any time to look it it because of other projects.

@RobertoMalatesta
Copy link

Thank you, @emoon
I will reply on #435 as soon as I can figure what #435 depicted system is.
At this moment I find it big and complex and with an ETA like -say- post-Seveneves

@ocornut ocornut added the doc label Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants