Software that creates FreeBSD Handbook

Just curious what software is used to create the structure of FreeBSD Handbook in HTML? I would like to create a handbook that with similar structure, which offer a table of content, split HTML/single HTML options, and next/previous page link at the bottom.