I cannot find the reference now, but I remember reading about favelas and how they are designed with courtyards so that there can be a shared responsibility of childcare.
The other thing that jumps to mind is dorms for students in the US which have a very similar coliving feel. I believe the Dutch and some Nordic countries were also collocating the elderly into similar areas to create a mixed generation encampment.
Solarpunk magazine is a great place to start https://solarpunkmagazine.com/