Pdoc needs some extra steps for documenting multiple versions. Luckily, it seems someone has already come up with a way to do it: mitmproxy/pdoc#470 (comment). We can use that to either document the most recent tag + main HEAD or all tags + main HEAD.