We have repo and user around, otherwise things would blow up before here
Fix relative linking on menus by backporting changes from @marksteve from https://github.com/progrium/viewdocs/pull/15