Add commands to compile documentation

Test documentation building on Travis CI.