Allow overriding the documentation URL

Reported by Jeblad in several threads on translatewiki.net.

Change-Id: Idda1a8097dde23b352e8cabf846d49e97c5e13d3