After removing the bundlemainpage macro pressing F1 will lead to an index.html which will in turn link to related pages, which will link to the corresponding help page of the bundle.
While this could be fixed again by using the bundlemainpage macro I propose a different solution. The original solution has one index page for each bundle, which in extreme cases, like the diffusionimaging bundle, means that all 10+ views will link to the same help page.
Instead we could make it configurable on a per view basis which help file should be loaded, if F1 is pressed while the view is focussed, this will allow opening the exact file for that view, which is more in line with a quick help function.
This could be done by using a central reference file in a format similar to:
bundle.id "default page"
view1.id "view 1 page"
view3.id "view 3 page"
view4.id "default page section view 4"
Where any missing views are linked to the default page.
Another option would be to assign the information within the view header/source file.
Any comments?