Added existance check for ldoc repository, generate docs after clone