Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
npm run docusaurus docs:version <VERSION-NUMBER>

Next, update the version.json  file to include the new version number.

Then, in docusaurus.config.js , under presets > classic > docs:

...

  • Under versions :
    • Add the new version and set its label to stable (<VERSION-NUMBER>) and its path to stable .
    • Update the previous version to remove the stable  label and path, and add an unmaintained  banner.

For example, when updating from version 23.4.1  to 23.4.2 , update the following section in docusaurus.config.js  from the following:

...