This issue has been migrated from the Forge. Read the original ticket here.
I'm constantly facing the issue that I have to figure out what methods do, return, etc.
And I was wondering that we could document more the code with the聽DocBlock format and from these we could generate some kind of documentation like other frameworks do. For example:
I'm sure that I'm not alone with this frustration and I'm ready to contribute, but the codebase is huge and I can't do this alone. What's your opinion guys?
This comment has been migrated from the Forge. Read the original comment here.
Salut,
Que pensez-vous de sa remarque ?
Merci!
@PrestaShop/prestashop-core-developers is this request still up to date ?
@marionf Indeed the PrestaShop API lacks a complete documentation, this issue is still true.
And I was wondering that we could document more the code with the DocBlock format and from these we could generate some kind of documentation like other frameworks do.
This could be a nice idea althought it could not be done by reading the code alone as the API definition can be modified by modules. However at runtime, for example in a BO page, we could provide such a documentation. This is a feature request.
test.
Most helpful comment
@marionf Indeed the PrestaShop API lacks a complete documentation, this issue is still true.
This could be a nice idea althought it could not be done by reading the code alone as the API definition can be modified by modules. However at runtime, for example in a BO page, we could provide such a documentation. This is a feature request.