milesj / docusaurus-plugin-typedoc-api

Docusaurus plugin that provides source code API documentation powered by TypeDoc.
71 stars 26 forks source link

Custom path instead of /api #145

Closed fgatti675 closed 4 months ago

fgatti675 commented 4 months ago

Hi, thanks for the plugin, it looks great :) I am migrating from the other docusaurus typedoc plugin and it has tons of urls generated under /docs/api I would rather keep that path in order to keep Google happy, but couldn't find the way. Did I miss something? Thanks!

milesj commented 4 months ago

@fgatti675 This plugin doesn't work that way, because it builds it's own routes, and isn't powered by static documents.

fgatti675 commented 4 months ago

Thanks, I understand that, but why can't the path be customised?

milesj commented 4 months ago

I forgot that there's a routeBasePath option, but I'm not sure if it will actually work.

fgatti675 commented 4 months ago

That actually works ;) Thanks!