These examples are committed with the documentation rendered just like a normal repo would. They are generated using this github action on each build of the code. Which you can find here https://github.com/Dirrk/terraform-docs/tree/master/.github/workflows/example.yml