Fixed the stack builder in the doc folder.