The generation of documentation based on Markdown happens with/during the site phase.
The doxia module manages several Markup Language