Closed duncanMR closed 7 months ago
@jeromekelleher I see why you made the comment about doxygen in the trees header file: moving tsk_position_t
above tsk_tree_t
broke the docs!
Merging #2867 (b72b3c2) into main (813f4ed) will decrease coverage by
12.68%
. The diff coverage is50.00%
.
@jeromekelleher, I've added a commit with all your suggested changes. The docs are still failing after moving all the methods to the bottom of trees.h
. Doxygen runs successfully, and it seems like the xml file for the tsk_tree_t
class it generates is correct. Also, the tree section of docs/_build/html/c-api.html
looks correct to me; I'm confused as to what is causing the warning.
I think the docs build is working @duncanMR - I just checked it out and the build is fine for me. Also the CI docs build is working.
I think the CI failures are due to a stale package cache. Probably simplest to just start a new PR from a fresh branch.
I think the docs build is working @duncanMR - I just checked it out and the build is fine for me. Also the CI docs build is working.
I think the CI failures are due to a stale package cache. Probably simplest to just start a new PR from a fresh branch.
Yes, I figured out the docs problem: there is a hardcoded exception in the Sphinx config specifically for the tree class that needed an update. I'll make a new PR now
I just saw a "merge" here @duncanMR - merge is not your friend! Rebase rebase rebase
@jeromekelleher Sorry about that! I accidentally pulled changes instead of just fetching. Will be more careful in future
@jeromekelleher Sorry about that! I accidentally pulled changes instead of just fetching. Will be more careful in future
No need to apologise, just trying to help
Description
This PR aims to address the first part of #2795 by adding the
tree_position
class to thetsk_tree_t
struct. I've done a first draft of this and it passes all the unit tests without any memory issues detected by Valgrind. I'm not confident that the memory management is correct yet, though!PR Checklist: