better doc structure and template plate use examples for render