-
Notifications
You must be signed in to change notification settings - Fork 136
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
How to get extends "links" on doc pages #422
Comments
It should actually work. See for example https://geb.inf.tu-dresden.de/doxy/musubi/lists/types.html, though that is a little special, as it points to an external project, and links there. However, I believe for the sample in test_data/external_project/external_project it also works and produces a link. Which version are on?
|
@haraldkl Yeah. I'm a bit baffled. But @ZedThree in #421 (comment) did find that we might be having side-effects due to (at least) preprocessing issues. It's entirely possible the missing links are due to that? Not sure, but once I do more clean up, maybe it'll magically fix? We shall see... |
Per the suggestion of @ZedThree in #421, I managed to fix all the "warning redefines" and other warnings I was getting with some code changes. And while it helped GNU cpp run and generate docs, it didn't seem to help with this issue. I still don't have the links. Well...almost. It turns out I didn't look hard enough. I have exactly one link far down on the page to BaseProfiler: And if I go into MemoryProfiler, the link carries on: The question is: why does FORD only do this for one type? Every other extended type doesn't get it. BaseProfiler yes, BaseServer no. There are about 700 types on this page and probably 1/4 or more extend something, so it would be nice to figure this out. |
I think #425 fixes this. Could you try the latest master and see if it works for you? |
I'll give it a whirl! I've never built anything from |
Woo hoo! It does! Thanks! I guess the next thing for me (other than actually documenting the code 😄 ) is to figure out how to tune the graph generation. I tried these settings (based on stdlib):
and, well, it took over 3 hours to generate the documentation compared to ~10 minutes without the graphs. Maybe doc generation will be done at night... 😆 |
Oh. I guess I can close this too. |
We use
In the project I linked earlier. That works quite nicely. Graphs with many more nodes anyway are hard to understand. |
With the help of @ZedThree and a bit of excluding I was able to generate some documentation. Huzzah!
However, I find myself wanting fancier documentation. 😄
Namely, if I look at the docs for GS2 here:
https://gyrokinetics.gitlab.io/gs2/lists/types.html
I see that, say,
ballstab_config_type
extendsabstract_config_type
and both of those have links. But in my docs, I only get the link on the first column, but not on the second column. Here's a screenshot (docs only exist on my laptop):You can see that
AbstractCollectiveDataMessage
extendsAbstractDataMessage
which itself extendsAbstractMessage
, but I don't have those snazzy links in the second column or in the page for the type itself.Is there perhaps an option I need to pass to FORD? I tried looking at the project file options, but nothing seems to stand out to my reading. I even found what I think is GS2's configuration file and while I don't understand every option, nothing seems obvious.
Any ideas?
The text was updated successfully, but these errors were encountered: