Updated for autogeneration of rst files