dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Luca Vizzarro <luca.vizzarro@arm.com>
To: dev@dpdk.org
Cc: Luca Vizzarro <luca.vizzarro@arm.com>, Patrick Robb <probb@iol.unh.edu>
Subject: [PATCH] dts: remove optional docs dependencies
Date: Fri,  1 Aug 2025 12:45:47 +0100	[thread overview]
Message-ID: <20250801114547.1128950-1-luca.vizzarro@arm.com> (raw)

The CI currently does not support the optional DTS docs dependencies. As
a consequence, all of the public docs are always built and deployed without
them.

To simplify the maintenance process, remove the optional docs dependencies
and abandon support.

Signed-off-by: Luca Vizzarro <luca.vizzarro@arm.com>
---
 doc/guides/conf.py       | 7 -------
 doc/guides/tools/dts.rst | 5 -----
 dts/pyproject.toml       | 9 ---------
 3 files changed, 21 deletions(-)

diff --git a/doc/guides/conf.py b/doc/guides/conf.py
index 4b1059c202..2c1aa81bbf 100644
--- a/doc/guides/conf.py
+++ b/doc/guides/conf.py
@@ -65,13 +65,6 @@
         graphviz_output_format = "svg"
         tags.add("graphviz")
 
-    # Pydantic models require autodoc_pydantic for the right formatting. Add if installed.
-    try:
-        import sphinxcontrib.autodoc_pydantic
-        extensions.append("sphinxcontrib.autodoc_pydantic")
-    except ImportError:
-        pass
-
     # Napoleon enables the Google format of Python doscstrings.
     napoleon_numpy_docstring = False
     napoleon_attr_annotations = True
diff --git a/doc/guides/tools/dts.rst b/doc/guides/tools/dts.rst
index 78761dc49e..3837b398cf 100644
--- a/doc/guides/tools/dts.rst
+++ b/doc/guides/tools/dts.rst
@@ -491,11 +491,6 @@ Building DTS API docs
 The documentation is built using the standard DPDK build system.
 See :doc:`../linux_gsg/build_dpdk` for more details on compiling DPDK with meson.
 
-.. code-block:: console
-
-   poetry install --only docs
-   poetry install --with docs  # an alternative that will also install DTS dependencies
-
 After executing the meson command, build the documentation with:
 
 .. code-block:: console
diff --git a/dts/pyproject.toml b/dts/pyproject.toml
index 8df0a894dc..8b061c3cee 100644
--- a/dts/pyproject.toml
+++ b/dts/pyproject.toml
@@ -35,15 +35,6 @@ types-paramiko = "^3.5.0.20240928"
 types-invoke = "^2.0.0.10"
 types-pyyaml = "^6.0.12.20240917"
 
-[tool.poetry.group.docs]
-optional = true
-
-[tool.poetry.group.docs.dependencies]
-sphinx = "<=7"
-sphinx-rtd-theme = ">=1.2.2"
-pyelftools = "^0.31"
-autodoc-pydantic = "^2.2.0"
-
 [build-system]
 requires = ["poetry-core>=1.0.0"]
 build-backend = "poetry.core.masonry.api"
-- 
2.43.0


             reply	other threads:[~2025-08-01 11:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-01 11:45 Luca Vizzarro [this message]
2025-08-06 13:40 ` [PATCH] dts: remove optional docs dependencies Patrick Robb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250801114547.1128950-1-luca.vizzarro@arm.com \
    --to=luca.vizzarro@arm.com \
    --cc=dev@dpdk.org \
    --cc=probb@iol.unh.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).