HTML help file for an extension

To be cross-platform compatible [MAC & PC] try something like :

help = File.join(File.dirname(__FILE__), 'myextensions', 'help.html')
UI.openURL("file:///#{help}")

Assuming the calling file in _FILE_ needs to look into a nested subfolder…
Otherwise omit the ‘myextensions’,