Fix documentation visibility issue on MAC

task-number: QTBUG-37650

Change-Id: I4350f2c9b852aaa530747bb13a5f774dab869dd5
Reviewed-by: Antti Kokko <antti.kokko@digia.com>