Please have a look to https://docs.phraseanet.com/3.8/fr/Contrib/DocumentationGuidelines.html#regles
I would have a look for you when this would be published and pulled on my computer.