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

Generate a Doxygen TAG file #40

Open
claudiofantacci opened this issue Dec 17, 2018 · 12 comments
Open

Generate a Doxygen TAG file #40

claudiofantacci opened this issue Dec 17, 2018 · 12 comments

Comments

@claudiofantacci
Copy link
Collaborator

No description provided.

@claudiofantacci
Copy link
Collaborator Author

From #24.

@diegoferigo
Copy link
Member

What do you mean with TAG, to handle the project version?

@claudiofantacci
Copy link
Collaborator Author

What do you mean with TAG, to handle the project version?

cc @traversaro

@traversaro
Copy link
Member

traversaro commented Dec 17, 2018

See the Doxytag docs for more info. Basically they are useful to ensure cross-projects links in Doxygen documentation.

@diegoferigo
Copy link
Member

I remember now that we discussed on this super cool feature long time ago. Since all our documentation is based on doxygen it would be great having a simple example running.

@claudiofantacci
Copy link
Collaborator Author

Do we have some sample code about this?

@traversaro
Copy link
Member

See usage of YARP_DOXYGEN_TAGFILE and DOX_GENERATE_TAGFILE in https://github.com/robotology/yarp/blob/master/cmake/YarpDoc.cmake#L43 .

@traversaro
Copy link
Member

Not sure if they do something similar in ignition-cmake, but I just saw that they have this supercool file that I guess make sure that std doxygen objects are linked to cppreference.com : https://bitbucket.org/ignitionrobotics/ign-cmake/src/default/doc/doxygen/cppreference.tag.xml .

@traversaro
Copy link
Member

See also https://en.cppreference.com/w/Cppreference:Archives#Doxygen_tag_file .

@claudiofantacci
Copy link
Collaborator Author

Well, there is some work here to do. I reckon if we can make a standard template project for this it will be really super useful!

@traversaro
Copy link
Member

Relevant ign-cmake PR: https://bitbucket.org/ignitionrobotics/ign-cmake/pull-requests/65/doxygen-macro-for-downstream-packages-30/diff .

@traversaro
Copy link
Member

Well, there is some work here to do. I reckon if we can make a standard template project for this it will be really super useful!

Definitely. Another tricky part is how to handle discovering and handling of TAG files of upstream libraries. This is something that the CMake config file could expose, but I am not aware of any C++ project that does this (that's the reason I wanted to check if they di something similar in the ignition projects).

Once we have something like that in place, we can generate in one shot all the doxygen docs for the packages in a superbuild, in a way that they cross link between one and another.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants