...
NOTE: If it's the first time (or if any dependencies have changed), you will need to run
yarn install
to install DocusaurusYou will need
node.js
version v18.x (use NVM to easily manage node versions).
...
Code Block | ||
---|---|---|
| ||
npm run docusaurus docs:version <VERSION-NUMBER> |
Next, update the version(This automatically updates versions.json
file to include the new version number.)
Then, in docusaurus.config.js
, under presets > classic > docs
:
...