Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Is there a way to modify the route slugs? #144

Open
littlespex opened this issue May 22, 2024 · 3 comments
Open

[Question] Is there a way to modify the route slugs? #144

littlespex opened this issue May 22, 2024 · 3 comments
Assignees

Comments

@littlespex
Copy link

We have migrated from docusaurus-plugin-typedoc and are very happy with the results. Unfortunately the URLs to our API members have now changed, and this would break persistent links in the wild. Is there a way to modify/configure the route slugs that are generated?

@milesj
Copy link
Owner

milesj commented May 22, 2024

@littlespex What's the difference exactly?

@littlespex
Copy link
Author

littlespex commented May 22, 2024

docusaurus-plugin-typedoc allowed the output folder to be configured, which we setup as:

`/apis/${unscopedPackageName}/interface/PlayerInterface`

docusaurus-plugin-typedoc-api uses the package's folder name from the mono-repo, and api instead of apis:

`/api/${folderName}/interface/PlayerInterface`

@milesj milesj self-assigned this May 22, 2024
@milesj
Copy link
Owner

milesj commented May 23, 2024

I'm open to a setting for this, I just don't have the time myself to look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants