https://github.com/rails/rails/blob/master/railties/lib/rails/tasks/documentation.rake#L53