Short recap about the steps that I needed to do:
1.) Installing m2doc plugin (https://www.m2doc.org/capella/)
2.) Create a plugin project in capella. Added org.polarsys.capella.core.sirius.analysis to the depencies
3.) Add the CapellaServices to the Capella project
4.) Enhance the m2doc template


