fix(docs): refactor poetry dependency group
Rename 'doc' group to 'docs' for consistency, this is to follow the
widely accepted convention of using plural nouns groups that contain
multiple items. This change signifies that the 'docs' group includes
a collection of documentation-related dependencies.
Also, ensure that the dependencies are actually conditionally
installed by setting the group as optional. This was missing in the
original change.
Change-Id: I33aa154d849a93bac78d698bbd2eef2f839e8985
Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
diff --git a/docs/getting_started/prerequisites.rst b/docs/getting_started/prerequisites.rst
index d761e9f..f1c398d 100644
--- a/docs/getting_started/prerequisites.rst
+++ b/docs/getting_started/prerequisites.rst
@@ -80,11 +80,11 @@
sudo apt install python3 python3-pip plantuml
curl -sSL https://install.python-poetry.org | python3 -
-To install Python dependencies using Poetry:
+Run the command below to install using Poetry, Python dependencies to build the documentation:
.. code:: shell
- poetry install
+ poetry install --with docs
Poetry will create a new virtual environment and install all dependencies listed
in ``pyproject.toml``. You can get information about this environment, such as