Links to inner classes were using `$` in urls instead of `.`, causing them to 404. Also fixes the doc generation code to generate docs into the correct directory. We moved the docs but never updated the generation code.