Hello everyone, I’ve recently picked up doxygen and have been trying to document an old project, nevertheless, I have some class’s method and I want to refer in the docs to another class’s method and a data member of the same class
Here’s the method:
void App::start() { for (unsigned i = 0; i < currentScene->gameObjects.size(); ++i) { currentScene->gameObjects[i]->start(); } timeSinceStart.restart(); }
I want to have a reference to GameObject::start and App::timeSinceStart in App::start doc block
(Sorry not in monospace, my Lemmy client doesn’t seem to support it and I don’t know the syntax here if one present)
glad_cat@lemmy.sdf.org 1 year ago
If they are part of the same project, it’s pretty much a standard feature. You can link anything.
I’m on mobile but it seems to be this: www.doxygen.nl/manual/autolink.html
Red1C3@lemmy.world 1 year ago
This is exactly what I needed, thanks a lot