This section describes how to upgrade a local installation of Antora.
Prerequisites
-
A running version of yarn. See Installing Yarn.
-
./node_modules/.bin
is in thePATH
environment variable.
Procedure
-
Open a shell into the project directory and run following command:
$ yarn upgrade
-
Commit the changes in both files
package.json
andpackage-lock.json
.$ git add package.json yarn.lock $ git commit -m "Upgrade Antora to new version"
Verification steps
-
Build the documentation as usual