[PATCH 1/1] doc: update Kernel documentation build system

Simon Glass sjg at chromium.org
Thu Jan 7 13:35:58 CET 2021


On Thu, 31 Dec 2020 at 17:21, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Update the docomentation build system according to Linux v5.11-rc1.
>
> With this patch we can build the HTML documentation using either of
> Sphinx 2 and Sphinx 3.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> Except for doc/develop/logging.rst I have already sent patches for
> erroneous pages that did not build with Sphinx 3.
> ---
>  doc/conf.py                       | 141 ++++++++--
>  doc/sphinx/automarkup.py          | 290 +++++++++++++++++++
>  doc/sphinx/cdomain.py             |  93 +++++-
>  doc/sphinx/kernel_abi.py          | 194 +++++++++++++
>  doc/sphinx/kernel_feat.py         | 169 +++++++++++
>  doc/sphinx/kerneldoc.py           |  15 +-
>  doc/sphinx/kernellog.py           |   6 +-
>  doc/sphinx/kfigure.py             |   6 +-
>  doc/sphinx/load_config.py         |  27 +-
>  doc/sphinx/maintainers_include.py | 197 +++++++++++++
>  doc/sphinx/parallel-wrapper.sh    |  33 +++
>  doc/sphinx/parse-headers.pl       |   6 +-
>  doc/sphinx/requirements.txt       |   5 +-
>  scripts/kernel-doc                | 450 ++++++++++++++++++++++--------
>  14 files changed, 1476 insertions(+), 156 deletions(-)
>  create mode 100644 doc/sphinx/automarkup.py
>  create mode 100644 doc/sphinx/kernel_abi.py
>  create mode 100644 doc/sphinx/kernel_feat.py
>  create mode 100755 doc/sphinx/maintainers_include.py
>  create mode 100644 doc/sphinx/parallel-wrapper.sh

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list