-
Notifications
You must be signed in to change notification settings - Fork 123
[DOCS] Added Deoxygen Support #3455
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
base: master
Are you sure you want to change the base?
Conversation
ec56658 to
d067cb0
Compare
Andrewyx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
itsarune
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks useful, I think you may have messed up the table of contents rendering in a bunch of markdown files. otherwise, LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is this script used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see line 1039 in the doxygen file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the FSM diagrams loading properly? They look a bit strange on the link you attached
itsarune
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have you considered using rules_doxygen?
No, I haven't. I will give it an attempt. |
I assume you're referring to how the table of contents is displayed on GitHub (e.g., this page). As far as I can tell, the TOC generated by Doxygen itself is working as intended. This is a bit painful to fix: Doxygen uses the [TOC] tag to generate a table of contents (reference). However, GitHub doesn't recognize [TOC]—instead, we’ve been using this tool to create GitHub-compatible TOCs. The problem is, including both [TOC] and the GitHub-generated TOC leads to formatting issues. On Doxygen pages, you get a random-looking list of pages; on GitHub, you’re left with the [TOC] tag rendered as plain text. My thinking was to simplify this by moving all documentation to doxygen. I am not sure how to fix the rendering on both Github and doxygen at the same time. |
|
my sense is that right now, most people aren't looking at the locally rendered markdown files and just look online. So it's okay to ignore the markdown table of contents rendering in favour of doxygen (like you've done) |
|
Goodness gracious, |
Sure. I will rebase from your branch or wait until you are done. |
|
@Mr-Anyone Should be safe for rebase now off the bzl branch |
|
@Mr-Anyone Is this still being worked on? Doxygen docs would be pretty useful and this looks pretty good. I did notice some minor bugs and I'll create a PR on your fork to resolve these issues. |
Thank you for noticing it. I think it might go unnoticed for a long time. This has taken a bit longer than expected because it is sort of in a limbo state since there are still a few open ended questions: (1) the table-of-contents issue Arun mentioned, (2) the bazel rules_doxygen issue, and (3) the mermaid/xdot issue. I probably have to follow up with the leads with that. What do you think? It may be a good idea to migrate from mermaid to xdot instead because doxygen natively support xdot. |
Doxygen bug fixes
|
I think this PR is actually pretty close to being merged.
I think we are good to just use the Doxygen TOC format, and remove script that generates the markdown TOCs. So the TOC issue is resolved
But I think that these issues can be fixed and we won't need to switch everything to xdot. Other than that everything should be good 👍 |
|
@Lmh-java Would you be able to work your magic and finish off this PR? I think it is mostly done, just a few small bugs left |




Description
Added Deoxygen support:
see this:
https://mr-anyone.github.io/Thunderbot_Software
https://mr-anyone.github.io/Thunderbot_Software/classPlay.html
https://mr-anyone.github.io/Thunderbot_Software/classTactic.html
https://mr-anyone.github.io/Thunderbot_Software/classThreadedAi.html
see here: https://github.com/Mr-Anyone/Thunderbot_Software
Length Justification and Key Files to Review
Most of it is css file and config file. N/A
It is the reviewers responsibility to also make sure every item here has been covered
.hfile) should have a javadoc style comment at the start of them. For examples, see the functions defined inthunderbots/software/geom. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.TODO(or similar) statements should either be completed or associated with a github issue