Add function for registering extra module documentation

Change-Id: Iddc6886a609670f8e722394d5c166d8d41dd1d81
Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>