From a1ac84ca38e4e45e709b39a25f355f8413239d1e Mon Sep 17 00:00:00 2001 From: Andrej Butok Date: Wed, 22 May 2024 11:00:25 +0200 Subject: [PATCH] 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 --- doc/contribute/documentation/generation.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/contribute/documentation/generation.rst b/doc/contribute/documentation/generation.rst index 87a00357c89..3991b19c47d 100644 --- a/doc/contribute/documentation/generation.rst +++ b/doc/contribute/documentation/generation.rst @@ -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: