add autogenerating of API reference