question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow disabling or customizing the next version banner

See original GitHub issue

🚀 Feature

v58 adds this banner: image

I would like to either disable it or customize it to something like:

This is the documentation for the next version of Hydra.
It is not yet released, please report any issues.

The documentation for the stable version is [here](/foo/bar).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
LoicPoullaincommented, Dec 16, 2020

Thank you for the tip. I was able to override the content with the following command (v2.0.0-alpha.69):

npm run swizzle @docusaurus/theme-classic DocVersionSuggestions --  --danger
2reactions
LoicPoullaincommented, Dec 16, 2020

Would it be also possible to allow disabling or customizing the banner of past versions?

Capture d’écran 2020-12-16 à 16 01 16

The current message hints that past versions are not maintained anymore which can be wrong. In the case of FoalTS, past versions have a lifetime during which bugs and security holes are fixed even if no new features are added.

I currently use this (hacky) workaround:

.alert.alert--warning.margin-bottom--md {
  display: none;
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Enable or Disable Banner
Open the <API-M_HOME>/repository/deployment/server/jaggeryapps/devportal/site/public/theme/defaultTheme.js file in a text editor and set the themes.light.custom ...
Read more >
Disable the Salesforce Notification Banner
You can dismiss the banner from all pages for all users in the organization. From Setup, enter User Interface in the Quick Find...
Read more >
Modify the banner
The banner text and banner image defined for the Company that a user is assigned to may be used to override the glide.product.image...
Read more >
CookiePro Knowledge: Customizing the Banner Template
To customize a banner template On the Cookie Co. ... Disable to allow the focus to follow the natural order for the elements...
Read more >
HP Switch Software - Login Banners
Enable non-default banner operation and define the endpoint delimiter for the banner. · Enter the desired banner text, including any specific line breaks...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found