...
Then, in docusaurus.config.js
, under presets > classic > docs
:
- Update the
lastVersion
to the new version number.
- Under
versions
:- Add the new version and set its label to
stable (<VERSION-NUMBER>)
and its path tostable
. - Update the previous version to remove the
stable
label and path, and add anunmaintained
banner.
lastVersion
to the new version number- .
- Add the new version and set its label to
For example, when updating from version 23.4.1
to 23.4.2
, update the following section in docusaurus.config.js
from the following:
...