{"id":24388,"url":"https://patchwork.libcamera.org/api/patches/24388/?format=json","web_url":"https://patchwork.libcamera.org/patch/24388/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20250917201742.16406-11-laurent.pinchart@ideasonboard.com>","date":"2025-09-17T20:17:41","name":"[v3,10/10] Documentation: Rename api to public-api and drop -html suffix","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"542ecaaa48bf1eceeb743eb97a4ae2d4be5d790c","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/24388/mbox/","series":[{"id":5448,"url":"https://patchwork.libcamera.org/api/series/5448/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5448","date":"2025-09-17T20:17:31","name":"Documentation theming update","version":3,"mbox":"https://patchwork.libcamera.org/series/5448/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/24388/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/24388/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 342D9C32C2\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 17 Sep 2025 20:18:40 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E0A4669387;\n\tWed, 17 Sep 2025 22:18:38 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id C191E6936F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 17 Sep 2025 22:18:28 +0200 (CEST)","from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi\n\t[81.175.209.231])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 75C936A8\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 17 Sep 2025 22:17:09 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"CU4prVDo\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1758140229;\n\tbh=nhGctzremn5oJB6NaVavevPQfUn1GychRdkJn4bYU54=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=CU4prVDo1ek+QXdSCk300AmAT8pfzaDYzJIVxiTQFi2evB0cr4eBmXDNghk6kAmmL\n\tpdw9deqxah3nT0jutkOKSyfWXkTfKcWVuTShjxX9oqwGQX/B47jbvXcZm5sI9kiNiT\n\tA25Iegehdqi4Z6Qj+hnqpt21nA71VlSNH8I5lztA=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Subject":"[PATCH v3 10/10] Documentation: Rename api to public-api and drop\n\t-html suffix","Date":"Wed, 17 Sep 2025 23:17:41 +0300","Message-ID":"<20250917201742.16406-11-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.49.1","In-Reply-To":"<20250917201742.16406-1-laurent.pinchart@ideasonboard.com>","References":"<20250917201742.16406-1-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"The public and internal Doxygen API documentation is compiled and\ninstalled in api-html and internal-api-html directories respectively.\nThe '-html' suffix doesn't provide any value, and the asymmetry between\nthe names can be confusing. Rename the directories to public-api and\ninternal-api respectively.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n Documentation/Doxyfile-internal.in                     |  4 ++--\n Documentation/Doxyfile-public.in                       |  4 ++--\n Documentation/conf.py.in                               |  8 ++++----\n Documentation/index.rst                                |  4 ++--\n .../{internal-api-html => internal-api}/index.rst      |  0\n Documentation/mainpage.dox                             |  4 ++--\n Documentation/meson.build                              | 10 +++++-----\n Documentation/{api-html => public-api}/index.rst       |  0\n 8 files changed, 17 insertions(+), 17 deletions(-)\n rename Documentation/{internal-api-html => internal-api}/index.rst (100%)\n rename Documentation/{api-html => public-api}/index.rst (100%)","diff":"diff --git a/Documentation/Doxyfile-internal.in b/Documentation/Doxyfile-internal.in\nindex aeaa06e9d9d3..b64b6a6feef3 100644\n--- a/Documentation/Doxyfile-internal.in\n+++ b/Documentation/Doxyfile-internal.in\n@@ -31,6 +31,6 @@ EXCLUDE                = @TOP_SRCDIR@/include/libcamera/base/span.h \\\n                          @TOP_BUILDDIR@/include/libcamera/ipa/soft_ipa_interface.h \\\n                          @TOP_BUILDDIR@/src/libcamera/proxy/\n \n-HTML_OUTPUT            = internal-api-html\n+HTML_OUTPUT            = internal-api\n \n-GENERATE_TAGFILE       = @TOP_BUILDDIR@/Documentation/internal-api-html/tagfile.xml\n+GENERATE_TAGFILE       = @TOP_BUILDDIR@/Documentation/internal-api/tagfile.xml\ndiff --git a/Documentation/Doxyfile-public.in b/Documentation/Doxyfile-public.in\nindex 917f24008579..9efb2b341ab4 100644\n--- a/Documentation/Doxyfile-public.in\n+++ b/Documentation/Doxyfile-public.in\n@@ -16,8 +16,8 @@ EXCLUDE                = @TOP_SRCDIR@/include/libcamera/base/class.h \\\n                          @TOP_SRCDIR@/src/libcamera/base/class.cpp \\\n                          @TOP_SRCDIR@/src/libcamera/base/object.cpp\n \n-HTML_OUTPUT            = api-html\n+HTML_OUTPUT            = public-api\n \n PREDEFINED            += __DOXYGEN_PUBLIC__\n \n-GENERATE_TAGFILE       = @TOP_BUILDDIR@/Documentation/api-html/tagfile.xml\n+GENERATE_TAGFILE       = @TOP_BUILDDIR@/Documentation/public-api/tagfile.xml\ndiff --git a/Documentation/conf.py.in b/Documentation/conf.py.in\nindex 349feda2a610..3054454b809c 100644\n--- a/Documentation/conf.py.in\n+++ b/Documentation/conf.py.in\n@@ -74,12 +74,12 @@ pygments_style = None\n \n doxylink = {\n     'doxy-pub': (\n-        '@TOP_BUILDDIR@/Documentation/api-html/tagfile.xml',\n-        'api-html/',\n+        '@TOP_BUILDDIR@/Documentation/public-api/tagfile.xml',\n+        'public-api/',\n     ),\n     'doxy-int': (\n-        '@TOP_BUILDDIR@/Documentation/internal-api-html/tagfile.xml',\n-        'internal-api-html/',\n+        '@TOP_BUILDDIR@/Documentation/internal-api/tagfile.xml',\n+        'internal-api/',\n     ),\n }\n \ndiff --git a/Documentation/index.rst b/Documentation/index.rst\nindex d55b5ff21464..7f762bbcc998 100644\n--- a/Documentation/index.rst\n+++ b/Documentation/index.rst\n@@ -11,7 +11,7 @@\n    Application Writer's Guide <guides/application-developer>\n    Python Bindings <python-bindings>\n    Environment variables <environment_variables>\n-   Public API <api-html/index>\n+   Public API <public-api/index>\n \n .. toctree::\n    :maxdepth: 1\n@@ -26,7 +26,7 @@\n    SoftwareISP Benchmarking <software-isp-benchmarking>\n    Tracing guide <guides/tracing>\n    Design document: AE <design/ae>\n-   Internal API <internal-api-html/index>\n+   Internal API <internal-api/index>\n \n .. toctree::\n    :maxdepth: 1\ndiff --git a/Documentation/internal-api-html/index.rst b/Documentation/internal-api/index.rst\nsimilarity index 100%\nrename from Documentation/internal-api-html/index.rst\nrename to Documentation/internal-api/index.rst\ndiff --git a/Documentation/mainpage.dox b/Documentation/mainpage.dox\nindex fae99f28f1af..99e67e7ab13d 100644\n--- a/Documentation/mainpage.dox\n+++ b/Documentation/mainpage.dox\n@@ -20,7 +20,7 @@ your platform the [pipeline handler writer's guide](../guides/pipeline-handler.h\n and the [ipa module writer's guide](../guides/ipa.html) should be helpful.\n \n The full libcamera API is documented here. If you wish to see only the public\n-part of the API you can use [these pages](../api-html/index.html) instead.\n+part of the API you can use [these pages](../public-api/index.html) instead.\n \n \\else\n \n@@ -31,7 +31,7 @@ gives an overview on how to achieve that.\n Only the public part of the libcamera API is documented here; if you are a\n developer seeking to add support for your hardware to the library or make other\n improvements, you should switch to the internal API\n-[reference pages](../internal-api-html/index.html) instead.\n+[reference pages](../internal-api/index.html) instead.\n \n \\endif\n */\ndiff --git a/Documentation/meson.build b/Documentation/meson.build\nindex 54c32e249e45..a5d8c20c30f9 100644\n--- a/Documentation/meson.build\n+++ b/Documentation/meson.build\n@@ -86,7 +86,7 @@ if doxygen.found() and dot.found()\n                                        doxyfile,\n                                        doxyfile_common,\n                                    ],\n-                                   output : 'api-html',\n+                                   output : 'public-api',\n                                    command : [doxygen, doxyfile],\n                                    install : true,\n                                    install_dir : doc_install_dir,\n@@ -106,7 +106,7 @@ if doxygen.found() and dot.found()\n                                          doxygen_public_input,\n                                          doxygen_internal_input,\n                                      ],\n-                                     output : 'internal-api-html',\n+                                     output : 'internal-api',\n                                      command : [doxygen, doxyfile],\n                                      install : true,\n                                      install_dir : doc_install_dir,\n@@ -150,7 +150,6 @@ if sphinx.found()\n     sphinx_conf_dir = fs.parent(sphinx_conf)\n \n     docs_sources = [\n-        'api-html/index.rst',\n         'camera-sensor-model.rst',\n         'code-of-conduct.rst',\n         'coding-style.rst',\n@@ -164,11 +163,12 @@ if sphinx.found()\n         'guides/pipeline-handler.rst',\n         'guides/tracing.rst',\n         'index.rst',\n-        'internal-api-html/index.rst',\n+        'internal-api/index.rst',\n         'introduction.rst',\n         'lens_driver_requirements.rst',\n         'libcamera_architecture.rst',\n         'mali-c55.dot',\n+        'public-api/index.rst',\n         'python-bindings.rst',\n         'sensor_driver_requirements.rst',\n         'software-isp-benchmarking.rst',\n@@ -193,7 +193,7 @@ if sphinx.found()\n                   install_tag : 'doc')\n \n     meson.add_install_script('install-doxygen.sh', doc_install_dir,\n-                             'api-html', 'internal-api-html')\n+                             'public-api', 'internal-api')\n \n     custom_target('documentation-linkcheck',\n                   command : [sphinx, '-W', '-b', 'linkcheck',\ndiff --git a/Documentation/api-html/index.rst b/Documentation/public-api/index.rst\nsimilarity index 100%\nrename from Documentation/api-html/index.rst\nrename to Documentation/public-api/index.rst\n","prefixes":["v3","10/10"]}