Local custom plugins documentations aren't showing up

System Information
  • Strapi Version: 4.25.7
  • Operating System: macOS
  • Database: Sqlite
  • Node Version: v20.16.0
  • NPM Version: 10.8.1
  • Yarn Version:

I installed the Documentation plugin and it worked well for all content-types core-routes.
But it isn’t generating docs for any local custom plugins endpoints (even for the a default generated Strapi plugin).

  • I added the plugin name to the config.plugins.documentation."x-strapi-config".plugins config.
  • I tried configuring the routes of the plugin as “content-api” routes but it didn’t help (it showed them in the roles and permissions section in the admin though)

I’m I missing something? or the documentation plugin doesn’t actually generate documentations for plugin routes?