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

long string for package name #28

Open
sedghi opened this issue Mar 9, 2022 · 5 comments
Open

long string for package name #28

sedghi opened this issue Mar 9, 2022 · 5 comments

Comments

@sedghi
Copy link

sedghi commented Mar 9, 2022

I have a long scope string and long package name which results in the following unfortunate render.
I was wondering whether it is possible to define an alias for packages when passed in the docusaurus config?

image

@milesj
Copy link
Owner

milesj commented Mar 10, 2022

@sedghi There's no alias currently.

But I agree, I run into this on my own stuff. I think I need to come up with a more holistic solution. One thought I had is to just not include the @scope.

@sedghi
Copy link
Author

sedghi commented Mar 10, 2022

yes, scope is not necessary IMO either

@B4nan
Copy link
Contributor

B4nan commented Mar 10, 2022

One thought I had is to just not include the @scope.

Please make this configurable, removing the scope may sounds like a good idea, but not all monorepos have all packages namespaced.

Ideally we should be able to override the package name explicitly to have absolute control.

@milesj
Copy link
Owner

milesj commented Mar 10, 2022

Yeah I would do it through an option :)

@milesj
Copy link
Owner

milesj commented Mar 29, 2022

Added a removeScopes option: 301a38a

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

3 participants