pdoc produces completely standalone HTML files with no dependencies and no JS. Even the collapsible navigation on small screen sizes is implemented in CSS only. Take a look yourself: https://pdoc.dev/docs/pdoc.html
You were probably using pdoc3, a hostile fork. See my other post. :(