facebook / docusaurus

Easy to maintain open source documentation websites.
https://docusaurus.io
MIT License
56.01k stars 8.41k forks source link

Past version warning is too restrictive #5010

Closed Yorkemartin closed 3 years ago

Yorkemartin commented 3 years ago

Past version warning should be configurable. The protocol I am building docs for are immutable smart contracts deployed on ethereum, so calling them "maintained" or not will confuse users. I imagine others feel similarly - such as the comment below

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;
}

Originally posted by @LoicPoullain in https://github.com/facebook/docusaurus/issues/3013#issuecomment-746441264

slorber commented 3 years ago

agree we should make this configurable (it's not for now)

duplicate of https://github.com/facebook/docusaurus/issues/3013