eclipse-capella / capella-xhtml-docgen

XHTML Documentation Generation AddOn provides output HTML files for Capella model
Eclipse Public License 2.0
10 stars 13 forks source link

Some icons have mismatching file types when HTML Export is generated to Linked Alternate location #242

Open DIYCapellaCoach opened 8 months ago

DIYCapellaCoach commented 8 months ago

When the following feature is used, several controlled_.png icons, the Sirius.png icon, and DAnalysis.png icon mismatch in the HTML img references where .gif is used in all these cases. This issue can be easily reproduced by making link to an alternate storing location and pointing to that directly when exporting the HTML

Alternate HTML Export location

This is the list of modified icon filetypes I was using to copy into the icon folder after the HTML was generated so my project would display without any missing image graphics. mismatched icons in the HTML export

Secondarily, there is an issue everytime the following setting for the HTML output ( Preferences → Capella → Docgen XHTML → Status and Review – selected) The HTML code is looking for Project.png regardless of where the HTML export is stored (locally or alternatively outside the project).

Project.gif is in the xxxHTML\output\icon folder, but the HTML is looking for Project.png

Capella 6.1 was used to demonstrate this issue with the following configuration for DocGen - XHTML addon versions: org.eclipse.egf.xxxxx, Version: 1.6.3.202110291409 org.polarsys.capella.docgen, Version: 6.1.0.202303281352 org.polarsys.kitalpha.doc.gen.business.core, Version: 6.1.0.202303220900 org.polarsys.kitalpha.vp.requirements.docgen, Version: 0.13.1.202303011400