fixed routing issue when viewing docs locally