Portlet creation

Guys,
I need to create a custom portlet and I couldn't follow the documentation. Can anyone help me with a source . Thank you

Please ask a specific question and explain which documentation lacks which information.

https://docs.plone.org/develop/plone/functionality/portlets.html

I want to create a recent items portlet with slight modifications . I need someone to help me find the correct resource for the query.