doc: Add upgrade flag to the install requirements command

- Adds -U upgrade flag to the install requirements command.
- Fixes a possible documentation generation issue,
  reported in https://github.com/zephyrproject-rtos/zephyr/issues/73082

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
This commit is contained in:
Andrej Butok 2024-05-22 11:00:25 +02:00 committed by Maureen Helm
commit a1ac84ca38

View file

@ -98,7 +98,7 @@ as described below:
.. code-block:: console
pip install -r ~/zephyrproject/zephyr/doc/requirements.txt
pip install -U -r ~/zephyrproject/zephyr/doc/requirements.txt
On Ubuntu Linux:
@ -133,7 +133,7 @@ as described below:
.. code-block:: console
pip install -r ~/zephyrproject/zephyr/doc/requirements.txt
pip install -U -r ~/zephyrproject/zephyr/doc/requirements.txt
Use ``brew`` and ``tlmgr`` to install the tools:
@ -149,7 +149,7 @@ as described below:
.. code-block:: console
pip install -r %HOMEPATH$\zephyrproject\zephyr\doc\requirements.txt
pip install -U -r %HOMEPATH$\zephyrproject\zephyr\doc\requirements.txt
Open a ``cmd.exe`` window as **Administrator** and run the following command: