initializes docs