If you see this page online at ant.apache.org, it is not a bug, but on purpose. We do not provide an online version of the API docs, they are included with all our distributions.
Ant's manual and API documentation is part of the binary distributions or available as a separate archive.