[docs] documentation build reworked a bit.