|
Revision tags: v24.11, v24.11-rc4, v24.11-rc3, v24.11-rc2 |
|
| #
6597fa4a |
| 28-Oct-2024 |
Luca Vizzarro <luca.vizzarro@arm.com> |
dts: add autodoc Pydantic
Add and enable the autodoc-pydantic sphinx extension. Pydantic models are not correctly recognised by autodoc, causing the generated docs to lack all the actual model infor
dts: add autodoc Pydantic
Add and enable the autodoc-pydantic sphinx extension. Pydantic models are not correctly recognised by autodoc, causing the generated docs to lack all the actual model information. The autodoc-pydantic sphinx extension fixes the original behaviour by correctly formatting them.
Signed-off-by: Luca Vizzarro <luca.vizzarro@arm.com> Reviewed-by: Paul Szczepanek <paul.szczepanek@arm.com> Reviewed-by: Nicholas Pratte <npratte@iol.unh.edu> Reviewed-by: Patrick Robb <probb@iol.unh.edu>
show more ...
|
| #
a0d77f20 |
| 08-Nov-2024 |
Paul Szczepanek <paul.szczepanek@arm.com> |
dts: remove external dependency on Python doc
Sphinx can link to online python docs but doing so creates a requirement for an internet connection. This commit removes this dependency.
Signed-off-by
dts: remove external dependency on Python doc
Sphinx can link to online python docs but doing so creates a requirement for an internet connection. This commit removes this dependency.
Signed-off-by: Paul Szczepanek <paul.szczepanek@arm.com> Reviewed-by: Luca Vizzarro <luca.vizzarro@arm.com> Reviewed-by: Patrick Robb <probb@iol.unh.edu>
show more ...
|
|
Revision tags: v24.11-rc1 |
|
| #
c523e864 |
| 17-Oct-2024 |
Thomas Monjalon <thomas@monjalon.net> |
doc: fix Sphinx build without RTD theme
DTS is using a specific configuration of Sphinx which is supported only with the theme Read The Docs. If not available, this error may be seen: unsupported t
doc: fix Sphinx build without RTD theme
DTS is using a specific configuration of Sphinx which is supported only with the theme Read The Docs. If not available, this error may be seen: unsupported theme option 'collapse_navigation' given
In order to allow doc generation without this theme, a check is added to make the specific configuration optional.
Fixes: 7f9326423a04 ("dts: add API doc generation")
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Signed-off-by: Robin Jarry <rjarry@redhat.com>
show more ...
|
|
Revision tags: v24.07, v24.07-rc4, v24.07-rc3, v24.07-rc2 |
|
| #
7f932642 |
| 12-Jul-2024 |
Juraj Linkeš <juraj.linkes@pantheon.tech> |
dts: add API doc generation
The tool used to generate DTS API docs is Sphinx, which is already in use in DPDK. The same configuration is used to preserve style with one DTS-specific configuration (s
dts: add API doc generation
The tool used to generate DTS API docs is Sphinx, which is already in use in DPDK. The same configuration is used to preserve style with one DTS-specific configuration (so that the DPDK docs are unchanged) that modifies how the sidebar displays the content. There's other Sphinx configuration related to Python docstrings which doesn't affect DPDK doc build. All new configuration is in a conditional block, applied only when DTS API docs are built to not interfere with DPDK doc build.
Sphinx generates the documentation from Python docstrings. The docstring format is the Google format [0] which requires the sphinx.ext.napoleon extension. The other extension, sphinx.ext.intersphinx, enables linking to objects in external documentations, such as the Python documentation.
There is one requirement for building DTS docs - the same Python version as DTS or higher, because Sphinx's autodoc extension imports the code.
The dependencies needed to import the code don't have to be satisfied, as the autodoc extension allows us to mock the imports. The missing packages are taken from the DTS pyproject.toml file.
And finally, the DTS API docs can be accessed from the DPDK API doxygen page.
[0] https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech> Acked-by: Thomas Monjalon <thomas@monjalon.net> Reviewed-by: Jeremy Spewock <jspewock@iol.unh.edu> Reviewed-by: Dean Marx <dmarx@iol.unh.edu> Reviewed-by: Luca Vizzarro <luca.vizzarro@arm.com>
show more ...
|
|
Revision tags: v24.07-rc1, v24.03, v24.03-rc4, v24.03-rc3, v24.03-rc2, v24.03-rc1, v23.11, v23.11-rc4, v23.11-rc3, v23.11-rc2, v23.11-rc1, v23.07, v23.07-rc4, v23.07-rc3, v23.07-rc2 |
|
| #
c1af2905 |
| 21-Jun-2023 |
David Marchand <david.marchand@redhat.com> |
doc: fix link to flow capabilities from bnxt guide
Having an explicit link to the main repository documentation breaks other repositories documentation (like for LTS releases).
Besides, the tables
doc: fix link to flow capabilities from bnxt guide
Having an explicit link to the main repository documentation breaks other repositories documentation (like for LTS releases).
Besides, the tables numerotation may change so add an explicit anchor to those tables and refer to them.
Fixes: b845c295cd13 ("doc: update Broadcom bnxt guide") Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
show more ...
|
|
Revision tags: v23.07-rc1, v23.03, v23.03-rc4, v23.03-rc3, v23.03-rc2, v23.03-rc1, v22.11, v22.11-rc4, v22.11-rc3, v22.11-rc2, v22.11-rc1, v22.07, v22.07-rc4, v22.07-rc3, v22.07-rc2, v22.07-rc1, v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
2654ce5c |
| 11-Jan-2022 |
Thomas Monjalon <thomas@monjalon.net> |
doc: replace deprecated distutils version parsing
When using Python 3.10, this warning appears: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. U
doc: replace deprecated distutils version parsing
When using Python 3.10, this warning appears: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
The PEP 632 recommends replacing "distutils.version" with "packaging".
Bugzilla ID: 914 Cc: stable@dpdk.org
Reported-by: Jerin Jacob <jerinj@marvell.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Tested-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
|
Revision tags: v21.11, v21.11-rc4 |
|
| #
f2577859 |
| 24-Nov-2021 |
Sunil Kumar Kori <skori@marvell.com> |
doc: add eventdev feature matrices
Patch adds feature matrices for event dev, Rx/Tx, Crypto and Timer adapters.
Along with, .ini files are added for all supported PMDs.
Signed-off-by: Sunil Kumar
doc: add eventdev feature matrices
Patch adds feature matrices for event dev, Rx/Tx, Crypto and Timer adapters.
Along with, .ini files are added for all supported PMDs.
Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
show more ...
|
|
Revision tags: v21.11-rc3, v21.11-rc2 |
|
| #
8b8036a6 |
| 08-Nov-2021 |
Elena Agostini <eagostini@nvidia.com> |
gpudev: introduce GPU device class library
In heterogeneous computing system, processing is not only in the CPU. Some tasks can be delegated to devices working in parallel.
The new library gpudev i
gpudev: introduce GPU device class library
In heterogeneous computing system, processing is not only in the CPU. Some tasks can be delegated to devices working in parallel.
The new library gpudev is for dealing with GPGPU computing devices from a DPDK application running on the CPU.
The infrastructure is prepared to welcome drivers in drivers/gpu/.
Signed-off-by: Elena Agostini <eagostini@nvidia.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
| #
59e380f1 |
| 04-Nov-2021 |
Tal Shnaiderman <talshn@nvidia.com> |
doc: add cryptodev table for supported operating systems
Added table to the crypto device drivers documentation stating the support of each PMD on Linux, FreeBSD and Windows.
Signed-off-by: Tal Shn
doc: add cryptodev table for supported operating systems
Added table to the crypto device drivers documentation stating the support of each PMD on Linux, FreeBSD and Windows.
Signed-off-by: Tal Shnaiderman <talshn@nvidia.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
|
Revision tags: v21.11-rc1, v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
0a91cdd4 |
| 07-Apr-2021 |
Thomas Monjalon <thomas@monjalon.net> |
doc: add flow API features tables
The NICs overview table lists all supported features per driver. There was a single row for "Flow API", although rte_flow is composed of many items and actions.
Th
doc: add flow API features tables
The NICs overview table lists all supported features per driver. There was a single row for "Flow API", although rte_flow is composed of many items and actions.
The row "Flow API" is replaced with two new tables for items and actions.
Also, since rte_flow is not implemented in all drivers, it would be ugly to add empty sections in some files. That's why the error message for missing INI section is removed.
The lists are sorted alphabetically. The extra files for some VF and vectorized data paths are not filled.
Signed-off-by: Asaf Penso <asafp@nvidia.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Kiran Kumar K <kirankumark@marvell.com> --- v6 changes: - rebase/update - remove deprecated shared action
show more ...
|
| #
428eaeb8 |
| 11-May-2021 |
Thomas Monjalon <thomas@monjalon.net> |
doc: remove PDF requirements
The documentation is generated in HTML only. The PDF format is abandoned since DPDK 20.11 while dropping support of the make-based build.
This decision has been mention
doc: remove PDF requirements
The documentation is generated in HTML only. The PDF format is abandoned since DPDK 20.11 while dropping support of the make-based build.
This decision has been mentioned by the Technical Board: https://mails.dpdk.org/archives/dev/2021-January/195549.html
Fixes: 3cc6ecfdfe85 ("build: remove makefiles") Cc: stable@dpdk.org
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
show more ...
|
| #
86ff0663 |
| 10-May-2021 |
Thomas Monjalon <thomas@monjalon.net> |
doc: fix build with Sphinx 4
Sphinx 4.0 became stricter with permalink configuration: " html_add_permalinks has been deprecated since v3.5.0. Please use html_permalinks and html_permalinks_icon inst
doc: fix build with Sphinx 4
Sphinx 4.0 became stricter with permalink configuration: " html_add_permalinks has been deprecated since v3.5.0. Please use html_permalinks and html_permalinks_icon instead. "
The new variable is used while keeping compatibility with older Sphinx versions.
Cc: stable@dpdk.org
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
show more ...
|
| #
aa9cb78f |
| 01-Apr-2021 |
David Marchand <david.marchand@redhat.com> |
doc: fix sphinx rtd theme import in GHA
If the rtd theme is available, passing it by name is enough to select it. Sphinx itself recognises the "sphinx_rtd_theme" name as a special case and tries to
doc: fix sphinx rtd theme import in GHA
If the rtd theme is available, passing it by name is enough to select it. Sphinx itself recognises the "sphinx_rtd_theme" name as a special case and tries to find its path automatically.
On the other hand, passing a html_theme_path makes sphinx parse all themes availables in this path, which in some environment (like GHA) is /usr/share and makes sphinx error on the first zipfile it finds (in GHA, some Azure CLI thingy) that has no sphinx theme in it.
Fixes: 46562be65094 ("doc: import sphinx rtd theme when available") Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Aaron Conole <aconole@redhat.com>
show more ...
|
|
Revision tags: v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5 |
|
| #
7bda955f |
| 19-Nov-2020 |
Anatoly Burakov <anatoly.burakov@intel.com> |
doc: allow external build
Currently, when building sphinx documentation, the build will only succeed if being run from the build system, because the conf.py script expects DPDK_VERSION environment v
doc: allow external build
Currently, when building sphinx documentation, the build will only succeed if being run from the build system, because the conf.py script expects DPDK_VERSION environment variable to be set, and crashes if it is not.
However, there are certain external tools (such as sphinx documentation preview extensions for certain IDE's) that use live preview and thus rely on running their own sphinx commands. In these cases, it is useful to permit building sphinx documentation without specifying the DPDK_VERSION environment variable. The version string is the only thing preventing manual sphinx build commands from working.
Fix the conf.py to use "None" as a version string in cases when DPDK_VERSION environment variable is not set.
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
|
Revision tags: v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1 |
|
| #
028c5740 |
| 16-Oct-2020 |
Thomas Monjalon <thomas@monjalon.net> |
doc: make sphinx errors more visible
When running Sphinx through ninja, the wrapper configured in meson redirects stdout to a log file. It makes more important to print issues on stderr.
Some warni
doc: make sphinx errors more visible
When running Sphinx through ninja, the wrapper configured in meson redirects stdout to a log file. It makes more important to print issues on stderr.
Some warnings generated by the conf.py were hidden because printed on stdout. The first improvement is to print them on stderr.
The second measure is to stop processing if meson was configured with --werror.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
| #
7e23a23a |
| 16-Oct-2020 |
Thomas Monjalon <thomas@monjalon.net> |
doc: fix project version in guides
The DPDK version should appear in the top left corner of the HTML guides. When dropping make, the variable version has been removed, so Sphinx stopped integrating
doc: fix project version in guides
The DPDK version should appear in the top left corner of the HTML guides. When dropping make, the variable version has been removed, so Sphinx stopped integrating the version number.
Fixes: a4362f150204 ("doc: build without using make")
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
| #
b1df4163 |
| 02-Oct-2020 |
Robin Jarry <robin.jarry@6wind.com> |
doc: remove references to python 2
Python 2 support has now been dropped. Remove references to it in the documentation.
Since all python scripts now have a proper shebang that calls python3, execut
doc: remove references to python 2
Python 2 support has now been dropped. Remove references to it in the documentation.
Since all python scripts now have a proper shebang that calls python3, execute the scripts directly without specifying the interpreter.
Sphinx version from most Linux distros is OK in 2020, do not encourage people to break their system by installing with pip. Use the distros official packages.
Signed-off-by: Robin Jarry <robin.jarry@6wind.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Kevin Laatz <kevin.laatz@intel.com>
show more ...
|
| #
3f6f8362 |
| 30-Sep-2020 |
Louise Kilheeney <louise.kilheeney@intel.com> |
support python 3 only
Changed scripts to explicitly use Python 3 only, to avoid maintaining Python 2. Removed deprecation notices.
Signed-off-by: Louise Kilheeney <louise.kilheeney@intel.com> Signe
support python 3 only
Changed scripts to explicitly use Python 3 only, to avoid maintaining Python 2. Removed deprecation notices.
Signed-off-by: Louise Kilheeney <louise.kilheeney@intel.com> Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Robin Jarry <robin.jarry@6wind.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Ray Kinsella <mdr@ashroe.eu>
show more ...
|
| #
a4362f15 |
| 03-Sep-2020 |
Bruce Richardson <bruce.richardson@intel.com> |
doc: build without using make
When building the DPDK guide documents, the DPDK version information was pulled using "make showversion", which meant there was a dependency on the DPDK make-based buil
doc: build without using make
When building the DPDK guide documents, the DPDK version information was pulled using "make showversion", which meant there was a dependency on the DPDK make-based build system. Change this to have the version info passed in from meson itself.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2 |
|
| #
cf9b3c36 |
| 20-Jul-2020 |
Yuval Avnery <yuvalav@mellanox.com> |
regex/mlx5: introduce driver for BlueField 2
This commit introduce the RegEx poll mode drivers class, and adds Mellanox RegEx PMD.
Signed-off-by: Yuval Avnery <yuvalav@mellanox.com> Signed-off-by:
regex/mlx5: introduce driver for BlueField 2
This commit introduce the RegEx poll mode drivers class, and adds Mellanox RegEx PMD.
Signed-off-by: Yuval Avnery <yuvalav@mellanox.com> Signed-off-by: Ori Kam <orika@mellanox.com>
show more ...
|
|
Revision tags: v20.08-rc1, v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1 |
|
| #
65f1eeca |
| 18-Apr-2020 |
Nicolas Chautru <nicolas.chautru@intel.com> |
doc: add feature matrix table for bbdev
Adding missing overview page in documentation with comparison of feature set by each available PMD implementation.
Signed-off-by: Nicolas Chautru <nicolas.ch
doc: add feature matrix table for bbdev
Adding missing overview page in documentation with comparison of feature set by each available PMD implementation.
Signed-off-by: Nicolas Chautru <nicolas.chautru@intel.com> Acked-by: Dave Burley <dave.burley@accelercomm.com> Acked-by: Niall Power <niall.power@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
| #
cc64c593 |
| 11-Mar-2020 |
Thomas Monjalon <thomas@monjalon.net> |
doc: fix matrix CSS for recent sphinx
It seems sphinx >= 2.0 is inserting a <p> tag in each table cell. The feature table (matrix) style needs to be updated to avoid cells being too big.
The margin
doc: fix matrix CSS for recent sphinx
It seems sphinx >= 2.0 is inserting a <p> tag in each table cell. The feature table (matrix) style needs to be updated to avoid cells being too big.
The margin, padding and line height are overridden. The font size in percentage is replaced with an equivalent pixel size. The border is explicit because it disappeared for th.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
| #
10d34aa3 |
| 08-Apr-2020 |
Thomas Monjalon <thomas@monjalon.net> |
doc: fix sphinx compatibility
The function add_stylesheet() is deprecated since sphinx 1.8. It will be removed in sphinx 4.0. It is replaced by add_css_file().
Cc: stable@dpdk.org
Signed-off-by: T
doc: fix sphinx compatibility
The function add_stylesheet() is deprecated since sphinx 1.8. It will be removed in sphinx 4.0. It is replaced by add_css_file().
Cc: stable@dpdk.org
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
|
Revision tags: v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1 |
|
| #
6222035e |
| 09-Jan-2020 |
Matan Azrad <matan@mellanox.com> |
doc: add vDPA features table
Add vDPA devices features table and explanation.
Any vDPA driver can add its own supported features by ading a new ini file to the features directory in doc/guides/vdpa
doc: add vDPA features table
Add vDPA devices features table and explanation.
Any vDPA driver can add its own supported features by ading a new ini file to the features directory in doc/guides/vdpadevs/features.
Signed-off-by: Matan Azrad <matan@mellanox.com>
show more ...
|
| #
878f99d1 |
| 09-Dec-2019 |
Thomas Monjalon <thomas@monjalon.net> |
doc: fix build with python 3.8
After upgrading to python-3.8.0, a syntax mismatch is revealed:
doc/guides/conf.py:240: SyntaxWarning: "is not" with a literal. Did you mean "!="? if value is
doc: fix build with python 3.8
After upgrading to python-3.8.0, a syntax mismatch is revealed:
doc/guides/conf.py:240: SyntaxWarning: "is not" with a literal. Did you mean "!="? if value is not '':
Removing "is not ''" seems the right thing to do.
A patch may also be needed in the RTD theme package: https://github.com/readthedocs/sphinx_rtd_theme/commit/a49a812c.diff (not included in release 0.4.3)
Fixes: 9db3f52126fb ("doc: generate NIC overview table from ini files") Cc: stable@dpdk.org
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|