-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
Admonitions reverted back to pre-beta.4 design when using yarn 3 PnP #6140
Comments
Hi, the admonition design is done on the Infima side (facebookincubator/infima#155) and it was just that the I have several websites also using PnP and I've not observed that behavior. |
Hm |
It looks like preset-classic is pulling in an older version of theme-classic, which is pulling in the old infima@alpha.23 (latest alpha.36). Peculiar. I don't know why there is a difference between the main package name and the "via npm" package name, that is peculiar. More research. |
You are not installing the right Docusaurus version. Please use exact versions rather than caret versions; we had a bad canary version naming and that version |
Theoretically we could deprecate those canary versions, but in practice there are too many of them🤦♂️ You are not the first to encounter this, but in fact we've received very few complaints about pkg managers resolving to a terrible pre-release version. Maybe Yarn also checks release timestamps when doing upgrades? At least I use fixed versions |
Thank you very much! |
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
Switching to yarn 3 (a radically different package manager) , my admonitions now look like those found in the remark-admonitions readme instead of those found in the docusaurus docs.
Why is it that the admonitions in the remark-admonitions github readme look totally different from those in your documentation? If I can understand where that different styling is coming in, maybe I can understand how to fix the issue. Your admonition styling in preset-classic is MUCH better.
Steps to reproduce
Here is our repository and branch with the issue:
https://github.com/lunasec-io/lunasec/tree/speed-up-ci/docs
Expected behavior
Admonitions would always look good
Actual behavior
admonitions look terrible
Your environment
Reproducible demo
No response
Self-service
The text was updated successfully, but these errors were encountered: