InsightSoftwareConsortium / ITKSphinxExamples

Cookbook examples for the Insight Toolkit documented with Sphinx
https://examples.itk.org
Apache License 2.0
53 stars 63 forks source link

DOC: Update Doxygen XML for ITK 5.3.0 #411

Open thewtex opened 1 year ago

thewtex commented 1 year ago

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

thewtex commented 1 year ago

I am not sure why we are seeing these warnings:

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

:confused:

jhlegarreta commented 1 year ago

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

thewtex commented 1 year ago

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

No :smile: :laughing:

jhlegarreta commented 1 year ago

I am not sure why we are seeing these warnings: https://open.cdash.org/viewBuildError.php?type=1&buildid=8385181

I do not know either Matt. Looks like the latest build points at some additional warnings: https://open.cdash.org/viewBuildError.php?type=1&buildid=8386005 https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/actions/runs/3870763866/jobs/6597968633#step:9:12602

tbirdso commented 1 year ago

Previously noticed these tag file warnings/errors last year in https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/issues/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 commented 1 year ago
jhlegarreta commented 1 year ago

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 commented 1 year ago

PR https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/pull/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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/issues/362 open to track the issue.

thewtex commented 11 months ago

Rebasing on master

jhlegarreta commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

Some further comments:

I've already run out of ideas Matt.

thewtex commented 10 months ago

@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:

https://github.com/InsightSoftwareConsortium/ITK/pull/4208

Crossing fingers that addresses these issues :crossed_fingers: .