The mix hex.docs fetch PACKAGE command is currently executed for every desired package, which is expensive and unnecessary. Make an API call to get the latest version and only fetch if a newer version is available.
Proof of concept in https://github.com/adamwight/local_hexdocs/tree/streamline-existing