Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

DOC: Update Doxygen XML for ITK 5.3.0 #411

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

thewtex
Copy link
Member

@thewtex thewtex commented Jan 8, 2023

Note: This is intentionally not updated to the ITK source code version so we can bump the source version separately.

@thewtex thewtex requested review from tbirdso and jhlegarreta January 8, 2023 23:06
@github-actions github-actions bot added type:Documentation Documentation improvement or change type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots labels Jan 8, 2023
Copy link
Member

@jhlegarreta jhlegarreta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in commit message: intentially -> intentionally ?

@thewtex
Copy link
Member Author

thewtex commented Jan 9, 2023

I am not sure why we are seeing these warnings:

https://open.cdash.org/viewBuildError.php?type=1&buildid=8385181

😕

@jhlegarreta
Copy link
Member

jhlegarreta commented Jan 9, 2023

Was the word "intentially" intentionally used in the commit message?

@thewtex
Copy link
Member Author

thewtex commented Jan 9, 2023

Was the word "intentially" intentionally used in the commit message?

No 😄 😆

@tbirdso
Copy link
Contributor

tbirdso commented Jan 9, 2023

Previously noticed these tag file warnings/errors last year in #362, the workaround at that time was to pin to v5.2.0 tag files which we obviously no longer want to do. I'm not sure what causes these issues. It sounds like the warnings may have stemmed from a doxygen version bump, the dates given in that issue discussion may aid in investigation.

@jhlegarreta
Copy link
Member

@jhlegarreta
Copy link
Member

jhlegarreta commented Jan 10, 2023

Show a histogram class in the index that is surely not found (will submit a patch set)
Show a pair: cast; VectorImage in the index that I am not sure was meant that way (the code shows the use of itk::CastImageFilter) (will submit a patch set)

PR #412. One thing that I wonder is why the second one has a single then a pair entry with the latter containing an element that is already in single. I did not find the behavior documented in Sphinx. @thewtex @tbirdso ?

@jhlegarreta
Copy link
Member

PR #412. One thing that I wonder is why the second one has a single then a pair entry with the latter containing an element that is already in single. I did not find the behavior documented in Sphinx. @thewtex @tbirdso ?

Nevermind. I figured out what the purpose and effect is.

@tbirdso
Copy link
Contributor

tbirdso commented Jan 12, 2023

PR #412. One thing that I wonder is why the second one has a single then a pair entry with the latter containing an element that is already in single. I did not find the behavior documented in Sphinx. @thewtex @tbirdso ?

Nevermind. I figured out what the purpose and effect is.

Hi @jhlegarreta , I am not clear on what these tags do, was there documentation that helped you or could you briefly summarize what you found?

@jhlegarreta
Copy link
Member

jhlegarreta commented Jan 12, 2023

Hi @jhlegarreta , I am not clear on what these tags do, was there documentation that helped you or could you briefly summarize what you found?

They serve to create the index: https://examples.itk.org/genindex.html

For the case at issue, it single creates the VectorImage entry we see in V (hover on the class name); the pair creates the entry as a composite entry by subindexing both as cast/VectorImage and VectorImage/cast.

@thewtex
Copy link
Member Author

thewtex commented Jan 12, 2023

It seems we should rebase after @jhlegarreta 's related patches are in, check to see if the warnings actually cause issues in the generated documentation, ignore them if not, and keep #362 open to track the issue.

@thewtex
Copy link
Member Author

thewtex commented Jul 24, 2023

Rebasing on master

thewtex added 2 commits July 26, 2023 17:09
Note: This is intentionally not updated to the ITK source code version so we can bump the source version separately.
@jhlegarreta
Copy link
Member

jhlegarreta commented Jul 27, 2023

It's a CMake warning that is making the ubuntu-22.04 documentation check fail:
https://open.cdash.org/build/8867148/configure

I thought we had fixed this one.

And some other Doxygen warnings:
https://open.cdash.org/viewBuildError.php?type=1&buildid=8867148

@jhlegarreta
Copy link
Member

It's a CMake warning that is making the ubuntu-22.04 documentation check fail:
https://open.cdash.org/build/8867148/configure

I thought we had fixed this one.

Does not look like we fixed properly in other places either: InsightSoftwareConsortium/ITK#3846

And some other Doxygen warnings:
https://open.cdash.org/viewBuildError.php?type=1&buildid=8867148

Not sure what the problem is with itk::AddImageFilter and itk::SampleToHistogramFilter:

Maybe the warnings in the GHA builds
https://github.com/InsightSoftwareConsortium/ITKDoxygen/actions/runs/5720889621/job/15501589831
and/or in the dashboard
https://open.cdash.org/viewBuildError.php?type=1&buildid=8879198

need attention. A quick look did not result in meaningful insight about the errors.

@jhlegarreta
Copy link
Member

Some further comments:

I've already run out of ideas Matt.

@thewtex
Copy link
Member Author

thewtex commented Sep 7, 2023

@jhlegarreta thanks for diving in here!

The inheritance and collaboration diagram generation is also failing for AddImageFilter; but not for the Ternary, Nary, Weighted variants.
PowImagFilter has the same issues.

Based on this evaluation / observation, I noticed an difference in AddImageFilter, PowImageFilter vs the Nary, Ternary, Weighted AddImageFilters that is removed here:

InsightSoftwareConsortium/ITK#4208

Crossing fingers that addresses these issues 🤞 .

dzenanz pushed a commit to InsightSoftwareConsortium/ITK that referenced this pull request Sep 7, 2023
…ageFilter

Hopefully this will help with the Doxygen XML issues discussed at:
InsightSoftwareConsortium/ITKSphinxExamples#411.
@hjmjohnson hjmjohnson merged commit 94e4144 into InsightSoftwareConsortium:master Nov 25, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type:Documentation Documentation improvement or change type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants