Custom Entity is only showing via admin theme
As 4k4 said in the comments, the route is being generated using the link template in the entity annotations. Changing these link templates should be how you set the path to any custom entity page. For future content entities, drupal console will use the base path specified in this step:
Enter the base-path for the content entity routes [/admin/structure]