I fleshed out my generator section to cover some more use cases and I think it is more useful than the examples in the Jekyll docs.
Remember to search Jekyll forums here for similar questions around plugins and show links in your question to show that you’ve done your own research.
Here is one where someone got stuck making a generator because they picked the wrong class and I provided the right class and a code snippet to get them on their merry way to conquering the Jekyll site.