Moving scrape-docs task from Xcode build steps into gendocs script.