I'm probably totally ignorant, but how would htmx work with a static site generator? Isn't the whole point of htmx that it extends the front end to dynamically interact with the server and get responses to inject?
You could have static elements pre-rendered, but only loaded on demand. For example, if you had a blog with comments, you could have the comments pre rendered in htmx fragments, but only loaded when they are clicked.
Or a photo gallery with thumbnails that are enlarged when clicked.
On a documentation site, photo gallery, etc, it is very reasonable to use something like htmx to implement navigation without triggering full page loads.