generate docs should only has 1 reducer