[docs] improve documentation package script

Signed-off-by: Juha Kallioinen <juha.kallioinen@jolla.com>