Combine pages in python instead of in bash

Allows us to put extra documentation in the middle of the page, fixes #19