Use \ref instead \subpage in mainpage.md, because every page referenced by the
mainpage seems to be a subpage by default.