Generating miRNA annotation file for hairpin.fa sequence


I need to generate my own annotation file based on my hairpin references, there is a tutorial about generating annotation file, but it is not about miRNAs, and i think some changes on that workflow are necessary. what options should i change ?