- πͺπΈSpain fjgarlin
All this conversation really feels like there is a need for a new module, maybe called "jsdoc" or something like that. Even if it might do the same as the "API" module for PHP modules, it definitely would do it with a whole different set of libraries, tools, etc, which no overlap with the "API" module in my opinion.
If we were to have this module, then it could be integrated in "api.drupal.org" as another module:
- "API" module for PHP files. All paths here start with "api/...".
- "jsdoc" for JS files. All paths here could start with "js/..." or "jsdoc/..." or whatever is best.Then, via Drupal, we could easily add blocks to "connect" the two parts.
But all of this, without having a full-on Drupal module for JS parsing, feels like it's totally out of scope as it's not a quick task. We'd need to see how the new module would behave with several Drupal versions, what's the performance of it, etc.Given that there was not much activity in a few years, I'm going to mark this as outdated. Creating a "jsdoc" module would be amazing and then we could look into integrating it, but not before that in my opinion.