Fix incorrect parameter in documentation

This was causing LDocGen to fail
Travis: build and upload LDocGen generated docs

They will be built for every commit, but only uploaded for master.
If the documentation doesn't correctly match the object it is
describing, then this will return an error and the build will be
marked as failed.
Merge pull request #207 from alanwoolley/ldocgen

Make LDocGen work again!