scala: fix incorrect doc installation path and add 'src' as resource