Upgrade doc generator

Doc tests now run with Karma and in CI.

Docs are still incomplete and dated, but this will allow the team to work on the new docs from master.