Protecting datagen scripts from Sphinx with __name__=='__main__'