-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
current
Version in Docusaurus still shows Next
label even if specified otherwise
#8184
Comments
https://github.com/celestiaorg/docs => I don't see a versioned site here nor your modified config I could inspect, nor the live result showing me the problem and you didn't either include screenshots showing where the wrong label is displayed. This is really hard for me to double-check your setup and try to help you 😅 Have you tried creating a smaller repro with Docusaurus.new to be sure it's not something else causing the problem? Note, I see you use i18n, make sure you don't have the "Next" label in the This is likely the issue: Not sure what to do to prevent this kind of error 😅 I can understand this is confusing. At the same time we have to consider that devs may set a default hardcoded text somewhere in English, and yet translators will provide a better text in English to override it through Crowdin or any external system, so it still makes sense to have When in doubt delete your local |
@slorber thank you so much for the support. It worked when I edited current.json and I will scope out CI automation for i18n directory. Wanted to check, after I got it working, the navbars stay on latest path. For example, say I switch versioning from |
Hey @YazzyYaz, great that this is solved. I guess we can close then. We have different navbar item types. {
type: "doc",
docId: "concepts/how-celestia-works/introduction",
label: "Concepts"
}; You can also try to implement your own custom navbar item if that doesn't work for your use-case (see #7227). We'll likely provide more useful navbar items in the future. |
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
Inside my docusaurus.config.js:
It still shows
Next
instead ofTestnet
. Not sure if I have to configure something else somewhere forcurrent
.Reproducible demo
No response
Steps to reproduce
current
'slabel
toTestnet
or something else.Next
Expected behavior
current
should update it's label based on what's passed inlabel
Actual behavior
current
version doesn't update it'slabel
. Path seems to update fine though.Your environment
Self-service
The text was updated successfully, but these errors were encountered: