I found some really old topics around this but nothing directly related. I am looking along the lines of a static site generator for simple sites, where a shared Modx instance is used as the “site creator”. I found the Modx.today article talking about just using file_get_contents on each page URL, but that seems inefficient.
I tried using the process function ($resource->process()), but that didn’t seem to process snippets in the page.
I could probably find the process in the core files, and maybe it’s more complex than I am thinking. It seems like what I am looking for is the equivalent of getChunk but for a full resource.