-
Notifications
You must be signed in to change notification settings - Fork 3
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
Brief lists of MLL functions in each section #13
Comments
Something like this may help in listing functions but not sure that it create links
The hdf5 current documentation has a listing at the top with linking to detailed functions documentation. I haven't figured out how they did it yet. I am not sure that adding a brief list is very necessary. We do not have a big list of function for each section so the presentation is going to look a bit bloated. |
I think it helps as often we have 3 or more ways to do something - you can find the function you want more easily. Using the breathe outline, the full signature is too wordy. Would prefer something like below (just a portion is shown). I don't think its a big deal to manually write the functions. It would be nice to pull the brief from doxygen but I think we'd have to write an extension to do so. I made a branch for testing this. |
I favor it as long as we don't have to maintain the summary manually. You can probably do it in Doxygen with JAVADOC_AUTOBRIEF and AUTOBRIEF_FORMAT, or you might need to do two breathe runs, one with show-brief-only = False and one with true. Then, use the true output for the summary section. I'm not sure, though. |
There seems to be an error when generating the HTML in the action: https://github.com/CGNS/cgns.github.io/actions/runs/12762105201/job/35570118301 It runs on my OpenSUSE box, which has Sphinx and Python versions 8.1.3 and 3.12. Is the Sphinx version problematic? |
It is the python version that is problematic. The provided code by Stephen requires at least a python 3.9 version to handle the typing hints. |
Upgrading python seems like the best fix. There is also the option to remove the typing hints. |
The website is now updated. For some reason, the toggle primary sidebar pops out instead of hiding it now. Strange. |
Something is weird in the contents list. For example, if I click on Grid Specification, it shows it in the main pane, but expands Auxiliary Data in the contents list. I don't see that behavior offline (but when I compile offline, I seem to be using a different theme. Are you seeing the same theme online and offline?). The summaries also have excessive underlining. Is that intended? |
I see the same theme off and online. It is much better rendered using the Firefox engine; it does not have the issue with Auxiliary data expansion. I don't see excessive underlining, but if there is no reason for the underlining, then it is not intended. Would using a newer version of the theme help? At least for OpenSUSE, it uses v0.2; the latest release is v1.1.3. I created issue #19 . |
Is there an automatic way to recover the dense summaries of functions in each section, like we had in the old documentation. Something like a function name or signature and doxygen brief?
I find the new docs too verbose and spread out to easily use as a reference.
The text was updated successfully, but these errors were encountered: