-
-
Notifications
You must be signed in to change notification settings - Fork 207
Performance improvements, new tests, more typing annotations and miscellaneous fixes #967
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
Conversation
…e into memberdef-in-groups
This is so the local "breathe" folder will have _parser.py
make "block" attribute optional for "htmlonly" tag Co-authored-by: Benjamin Cabé <kartben@gmail.com>
I finished the merge. I understand now what the purpose for breaking up the pull request would be. It's certainly possible, but it would take a while. I would have go through all my commits, one by one, and either selectively undo certain changes, or conversely, create a new branch and selectively apply certain changes. I would need to go through all the commits multiple times and reapply the changes for the subsequent pull requests. By the time I'm done, there would probably be new changes in the original repository, and translating new changes from the old code into the new code is also not fun. Either way, the first pull request would still be the biggest because the parser's data types permeate so much of the code. There was even code in the original parser that had to be moved outside the parser because it was specific to a much later step in Breathe's operation. I'm not enthusiastic about doing that. I would have to be convinced that smaller pull requests are worth the effort. Also, in case the tone of this text comes off as negative: I wish to clarify that I didn't mind being asked. |
…e into memberdef-in-groups
The build log contains the following warning twice when I build my project documentation with this PR (I use Doxygen 1.12.0):
|
@Rouslan - to clarify, your work still depends on the C parser code in this branch? I had the vaguest idea that you'd tried that route and then didn't need the C code in the end but maybe I was wrong. |
@michaeljones No, the C version is no longer generated. I didn't delete the template for the C version right away and I ended up forgetting about it until now. It can be safely removed. |
@Rouslan - Ok, good to know. Thank you for the quick response. I'll delete the |
@michaeljones Oh, you can't delete the whole folder, only "module_template.c.in". The Python version of the parser is also generated. |
@JasperCraeghs I have updated the parser and there shouldn't be any more parse warnings (at least until a new version of Doxygen comes out). Please let me know if any show up. |
What is the best practice for |
And for type checking, do we want the:
pattern everywhere that we use it? When does that last non-type-aware python version end-of-life? Looks like 3.9 will EOL by the end of this year. |
I don't know what the best practice is, but I have been adding This is also why |
This pull request, along with the improvement made in the upcoming version 7.3 of sphinx, should fix the issue of Breathe being too slow.
The changes in this pull request are massive and I understand that the maintainers have very little time to spare, so I don't expect this will be merged right away, and I don't mind putting in more work if it's needed to get this accepted.