[{"id":30850,"web_url":"https://patchwork.libcamera.org/comment/30850/","msgid":"<20240816004342.GA15356@pendragon.ideasonboard.com>","date":"2024-08-16T00:43:42","subject":"Re: [PATCH v2 1/7] Documentation: Add documentation-contents.rst","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"content":"Hi Dan,\n\nThank you for the patch.\n\nOn Thu, Aug 15, 2024 at 09:29:38AM +0100, Daniel Scally wrote:\n> Add a new .rst file referencing the documentation contents. This file\n> is then included in each documentation page so that we can enhance\n> the Documentation pages on the libcamera website using it. As we do\n> not want the appearance of the libcamera in-tree Documentation to\n> change just yet, disable the new class using the sphinx theme's CSS.\n> \n> To facilitate easier distinguishing between \"normal\" and\n> documentation pages on the website we want to add a \"documentation\"\n> class to the content of all such pages. Since this new file will be\n> included on each documentation page it is convenient to add the new\n> directive here - do so. As the website uses different CSS to\n> libcamera, move the contents on docs.rst a little so that the\n> directive at the end of the contents block applies correctly.\n> \n> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>\n> ---\n> changes since v1:\n> \n> \t- Formatting\n> \t- Properly added the new file to meson's list of docs_sources\n> \t- Commented the inclusion of the rst-class directive at the end of the\n> \t  new file\n> \n>  Documentation/camera-sensor-model.rst         |  2 ++\n>  Documentation/code-of-conduct.rst             |  2 ++\n>  Documentation/coding-style.rst                |  2 ++\n>  Documentation/conf.py                         |  7 ++++-\n>  Documentation/docs.rst                        |  2 ++\n>  Documentation/documentation-contents.rst      | 27 +++++++++++++++++++\n>  Documentation/environment_variables.rst       |  2 ++\n>  Documentation/getting-started.rst             |  1 +\n>  .../guides/application-developer.rst          |  2 ++\n>  Documentation/guides/introduction.rst         |  2 ++\n>  Documentation/guides/ipa.rst                  |  2 ++\n>  Documentation/guides/pipeline-handler.rst     |  2 ++\n>  Documentation/guides/tracing.rst              |  2 ++\n>  Documentation/lens_driver_requirements.rst    |  2 ++\n>  Documentation/meson.build                     |  1 +\n>  Documentation/python-bindings.rst             |  2 ++\n>  Documentation/sensor_driver_requirements.rst  |  2 ++\n>  Documentation/software-isp-benchmarking.rst   |  2 ++\n>  Documentation/theme/static/css/theme.css      |  4 +++\n>  19 files changed, 67 insertions(+), 1 deletion(-)\n>  create mode 100644 Documentation/documentation-contents.rst\n> \n> diff --git a/Documentation/camera-sensor-model.rst b/Documentation/camera-sensor-model.rst\n> index b66c880a..87a25bf4 100644\n> --- a/Documentation/camera-sensor-model.rst\n> +++ b/Documentation/camera-sensor-model.rst\n> @@ -1,5 +1,7 @@\n>  .. SPDX-License-Identifier: CC-BY-SA-4.0\n>  \n> +.. include:: documentation-contents.rst\n> +\n>  .. _camera-sensor-model:\n>  \n>  .. todo: Move to Doxygen-generated documentation\n> diff --git a/Documentation/code-of-conduct.rst b/Documentation/code-of-conduct.rst\n> index 38b7d7ad..0edd1e99 100644\n> --- a/Documentation/code-of-conduct.rst\n> +++ b/Documentation/code-of-conduct.rst\n> @@ -1,5 +1,7 @@\n>  .. SPDX-License-Identifier: CC-BY-4.0\n>  \n> +.. include:: documentation-contents.rst\n> +\n>  .. _code-of-conduct:\n>  \n>  Contributor Covenant Code of Conduct\n> diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst\n> index 3352b75c..6ac3a4a0 100644\n> --- a/Documentation/coding-style.rst\n> +++ b/Documentation/coding-style.rst\n> @@ -1,5 +1,7 @@\n>  .. SPDX-License-Identifier: CC-BY-SA-4.0\n>  \n> +.. include:: documentation-contents.rst\n> +\n>  .. _coding-style-guidelines:\n>  \n>  Coding Style Guidelines\n> diff --git a/Documentation/conf.py b/Documentation/conf.py\n> index 7eeea7f3..325f2759 100644\n> --- a/Documentation/conf.py\n> +++ b/Documentation/conf.py\n> @@ -61,7 +61,12 @@ language = 'en'\n>  # List of patterns, relative to source directory, that match files and\n>  # directories to ignore when looking for source files.\n>  # This pattern also affects html_static_path and html_extra_path.\n> -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']\n> +exclude_patterns = [\n> +    '_build',\n> +    'Thumbs.db',\n> +    '.DS_Store',\n> +    'documentation-contents.rst',\n> +]\n>  \n>  # The name of the Pygments (syntax highlighting) style to use.\n>  pygments_style = None\n> diff --git a/Documentation/docs.rst b/Documentation/docs.rst\n> index a6e8a59a..5871961c 100644\n> --- a/Documentation/docs.rst\n> +++ b/Documentation/docs.rst\n> @@ -3,6 +3,8 @@\n>  .. contents::\n>     :local:\n>  \n> +.. include:: documentation-contents.rst\n> +\n>  *************\n>  Documentation\n>  *************\n> diff --git a/Documentation/documentation-contents.rst b/Documentation/documentation-contents.rst\n> new file mode 100644\n> index 00000000..a6915e05\n> --- /dev/null\n> +++ b/Documentation/documentation-contents.rst\n> @@ -0,0 +1,27 @@\n> +.. SPDX-License-Identifier: CC-BY-SA-4.0\n> +\n> +.. container:: documentation-nav\n> +\n> +   * :doc:`/api-html/index`\n> +   * :doc:`/camera-sensor-model`\n> +   * :doc:`/code-of-conduct`\n> +   * :doc:`/coding-style`\n> +   * :doc:`/environment_variables`\n> +   * :doc:`/guides/application-developer`\n> +   * :doc:`/guides/introduction`\n> +   * :doc:`/guides/ipa`\n> +   * :doc:`/guides/pipeline-handler`\n> +   * :doc:`/guides/tracing`\n> +   * :doc:`/lens_driver_requirements`\n> +   * :doc:`/python-bindings`\n> +   * :doc:`/sensor_driver_requirements`\n> +   * :doc:`/software-isp-benchmarking`\n> +\n> +..\n> +   The following directive adds the \"documentation\" class to all of the pages\n> +   generated by sphinx. This is not relevant in libcamera nor addressed in the\n> +   theme's CSS, since all of the pages here are documentation. It **is** used\n> +   to properly format the documentation pages on libcamera.org and so should not\n> +   be removed.\n> +\n> +.. rst-class:: documentation\n> diff --git a/Documentation/environment_variables.rst b/Documentation/environment_variables.rst\n> index de434c38..7da9883a 100644\n> --- a/Documentation/environment_variables.rst\n> +++ b/Documentation/environment_variables.rst\n> @@ -1,5 +1,7 @@\n>  .. SPDX-License-Identifier: CC-BY-SA-4.0\n>  \n> +.. include:: documentation-contents.rst\n> +\n>  Environment variables\n>  =====================\n>  \n> diff --git a/Documentation/getting-started.rst b/Documentation/getting-started.rst\n> index 987f43f7..63b050eb 100644\n> --- a/Documentation/getting-started.rst\n> +++ b/Documentation/getting-started.rst\n> @@ -1,4 +1,5 @@\n>  .. SPDX-License-Identifier: CC-BY-SA-4.0\n> +\n>  .. Getting started information is defined in the project README file.\n>  .. include:: ../README.rst\n>     :start-after: .. section-begin-getting-started\n> diff --git a/Documentation/guides/application-developer.rst b/Documentation/guides/application-developer.rst\n> index 92e2a373..1ea8c40f 100644\n> --- a/Documentation/guides/application-developer.rst\n> +++ b/Documentation/guides/application-developer.rst\n> @@ -1,5 +1,7 @@\n>  .. SPDX-License-Identifier: CC-BY-SA-4.0\n>  \n> +.. include:: ../documentation-contents.rst\n> +\n>  Using libcamera in a C++ application\n>  ====================================\n>  \n> diff --git a/Documentation/guides/introduction.rst b/Documentation/guides/introduction.rst\n> index 700ec2d3..8368bd4a 100644\n> --- a/Documentation/guides/introduction.rst\n> +++ b/Documentation/guides/introduction.rst\n> @@ -1,5 +1,7 @@\n>  .. SPDX-License-Identifier: CC-BY-SA-4.0\n>  \n> +.. include:: ../documentation-contents.rst\n> +\n>  Developers guide to libcamera\n>  =============================\n>  \n> diff --git a/Documentation/guides/ipa.rst b/Documentation/guides/ipa.rst\n> index 25deadef..cd640563 100644\n> --- a/Documentation/guides/ipa.rst\n> +++ b/Documentation/guides/ipa.rst\n> @@ -1,5 +1,7 @@\n>  .. SPDX-License-Identifier: CC-BY-SA-4.0\n>  \n> +.. include:: ../documentation-contents.rst\n> +\n>  IPA Writer's Guide\n>  ==================\n>  \n> diff --git a/Documentation/guides/pipeline-handler.rst b/Documentation/guides/pipeline-handler.rst\n> index 5aa09e90..26aea433 100644\n> --- a/Documentation/guides/pipeline-handler.rst\n> +++ b/Documentation/guides/pipeline-handler.rst\n> @@ -1,5 +1,7 @@\n>  .. SPDX-License-Identifier: CC-BY-SA-4.0\n>  \n> +.. include:: ../documentation-contents.rst\n> +\n>  Pipeline Handler Writers Guide\n>  ==============================\n>  \n> diff --git a/Documentation/guides/tracing.rst b/Documentation/guides/tracing.rst\n> index ae960d85..537dce50 100644\n> --- a/Documentation/guides/tracing.rst\n> +++ b/Documentation/guides/tracing.rst\n> @@ -1,5 +1,7 @@\n>  .. SPDX-License-Identifier: CC-BY-SA-4.0\n>  \n> +.. include:: ../documentation-contents.rst\n> +\n>  Tracing Guide\n>  =============\n>  \n> diff --git a/Documentation/lens_driver_requirements.rst b/Documentation/lens_driver_requirements.rst\n> index b96e502d..85fef76f 100644\n> --- a/Documentation/lens_driver_requirements.rst\n> +++ b/Documentation/lens_driver_requirements.rst\n> @@ -1,5 +1,7 @@\n>  .. SPDX-License-Identifier: CC-BY-SA-4.0\n>  \n> +.. include:: documentation-contents.rst\n> +\n>  .. _lens-driver-requirements:\n>  \n>  Lens Driver Requirements\n> diff --git a/Documentation/meson.build b/Documentation/meson.build\n> index 1ba40fdf..c5736991 100644\n> --- a/Documentation/meson.build\n> +++ b/Documentation/meson.build\n> @@ -129,6 +129,7 @@ if sphinx.found()\n>          'conf.py',\n>          'contributing.rst',\n>          'docs.rst',\n> +\t'documentation-contents.rst',\n\nDon't you use checkstyle.py through git hooks ?\n\n>          'environment_variables.rst',\n>          'guides/application-developer.rst',\n>          'guides/introduction.rst',\n> diff --git a/Documentation/python-bindings.rst b/Documentation/python-bindings.rst\n> index ed9f686b..94712238 100644\n> --- a/Documentation/python-bindings.rst\n> +++ b/Documentation/python-bindings.rst\n> @@ -1,5 +1,7 @@\n>  .. SPDX-License-Identifier: CC-BY-SA-4.0\n>  \n> +.. include:: documentation-contents.rst\n> +\n>  .. _python-bindings:\n>  \n>  Python Bindings for libcamera\n> diff --git a/Documentation/sensor_driver_requirements.rst b/Documentation/sensor_driver_requirements.rst\n> index 0e516b34..fb4269d0 100644\n> --- a/Documentation/sensor_driver_requirements.rst\n> +++ b/Documentation/sensor_driver_requirements.rst\n> @@ -1,5 +1,7 @@\n>  .. SPDX-License-Identifier: CC-BY-SA-4.0\n>  \n> +.. include:: documentation-contents.rst\n> +\n>  .. _sensor-driver-requirements:\n>  \n>  Sensor Driver Requirements\n> diff --git a/Documentation/software-isp-benchmarking.rst b/Documentation/software-isp-benchmarking.rst\n> index b3033132..9c2a409b 100644\n> --- a/Documentation/software-isp-benchmarking.rst\n> +++ b/Documentation/software-isp-benchmarking.rst\n> @@ -1,5 +1,7 @@\n>  .. SPDX-License-Identifier: CC-BY-SA-4.0\n>  \n> +.. include:: documentation-contents.rst\n> +\n>  .. _software-isp-benchmarking:\n>  \n>  Software ISP benchmarking\n> diff --git a/Documentation/theme/static/css/theme.css b/Documentation/theme/static/css/theme.css\n> index d4274ea6..2b1ed095 100644\n> --- a/Documentation/theme/static/css/theme.css\n> +++ b/Documentation/theme/static/css/theme.css\n> @@ -289,3 +289,7 @@ div#signature {\n>  \tpadding: 0px;\n>  \tvisibility: hidden;\n>  }\n> +\n> +.documentation-nav {\n> +\tdisplay: none;\n> +}","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 3CD3DBDB13\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 16 Aug 2024 00:44:11 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 59D6863369;\n\tFri, 16 Aug 2024 02:44:10 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id BE63D63369\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 16 Aug 2024 02:44:08 +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 ESMTPSA id C3ABB593;\n\tFri, 16 Aug 2024 02:43: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=\"tYmSnuWk\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1723768990;\n\tbh=G6wmK0kL01p56Bv91rMt02vk/Qib3ZLTZ1Ei65CzcNk=;\n\th=Date:From:To:Cc:Subject:References:In-Reply-To:From;\n\tb=tYmSnuWkVBXxreUQrWsVppI3JaqU9G0U9hdqehn1sHVSAK0EfGWi8xPeu9LI5vZ+4\n\tFaFxJNU8T81dzEuyqyl3p4+2jdg04D5+lKL2u8Pe6UMrWzh0PpfT2v3Gb4QrCV/+mB\n\toC1JxAi1O55VVhi4O2zcId8n184+lUc7IEufBk4M=","Date":"Fri, 16 Aug 2024 03:43:42 +0300","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"Daniel Scally <dan.scally@ideasonboard.com>","Cc":"libcamera-devel@lists.libcamera.org","Subject":"Re: [PATCH v2 1/7] Documentation: Add documentation-contents.rst","Message-ID":"<20240816004342.GA15356@pendragon.ideasonboard.com>","References":"<20240815082944.170109-1-dan.scally@ideasonboard.com>\n\t<20240815082944.170109-2-dan.scally@ideasonboard.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<20240815082944.170109-2-dan.scally@ideasonboard.com>","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>"}},{"id":30859,"web_url":"https://patchwork.libcamera.org/comment/30859/","msgid":"<e0bfd44b-405f-4fc3-8626-89ae7674c1d4@ideasonboard.com>","date":"2024-08-19T08:11:47","subject":"Re: [PATCH v2 1/7] Documentation: Add documentation-contents.rst","submitter":{"id":156,"url":"https://patchwork.libcamera.org/api/people/156/","name":"Dan Scally","email":"dan.scally@ideasonboard.com"},"content":"Hi Laurent\n\nOn 16/08/2024 01:43, Laurent Pinchart wrote:\n> Hi Dan,\n>\n> Thank you for the patch.\n>\n> On Thu, Aug 15, 2024 at 09:29:38AM +0100, Daniel Scally wrote:\n>> Add a new .rst file referencing the documentation contents. This file\n>> is then included in each documentation page so that we can enhance\n>> the Documentation pages on the libcamera website using it. As we do\n>> not want the appearance of the libcamera in-tree Documentation to\n>> change just yet, disable the new class using the sphinx theme's CSS.\n>>\n>> To facilitate easier distinguishing between \"normal\" and\n>> documentation pages on the website we want to add a \"documentation\"\n>> class to the content of all such pages. Since this new file will be\n>> included on each documentation page it is convenient to add the new\n>> directive here - do so. As the website uses different CSS to\n>> libcamera, move the contents on docs.rst a little so that the\n>> directive at the end of the contents block applies correctly.\n>>\n>> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n>> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>\n>> ---\n>> changes since v1:\n>>\n>> \t- Formatting\n>> \t- Properly added the new file to meson's list of docs_sources\n>> \t- Commented the inclusion of the rst-class directive at the end of the\n>> \t  new file\n>>\n>>   Documentation/camera-sensor-model.rst         |  2 ++\n>>   Documentation/code-of-conduct.rst             |  2 ++\n>>   Documentation/coding-style.rst                |  2 ++\n>>   Documentation/conf.py                         |  7 ++++-\n>>   Documentation/docs.rst                        |  2 ++\n>>   Documentation/documentation-contents.rst      | 27 +++++++++++++++++++\n>>   Documentation/environment_variables.rst       |  2 ++\n>>   Documentation/getting-started.rst             |  1 +\n>>   .../guides/application-developer.rst          |  2 ++\n>>   Documentation/guides/introduction.rst         |  2 ++\n>>   Documentation/guides/ipa.rst                  |  2 ++\n>>   Documentation/guides/pipeline-handler.rst     |  2 ++\n>>   Documentation/guides/tracing.rst              |  2 ++\n>>   Documentation/lens_driver_requirements.rst    |  2 ++\n>>   Documentation/meson.build                     |  1 +\n>>   Documentation/python-bindings.rst             |  2 ++\n>>   Documentation/sensor_driver_requirements.rst  |  2 ++\n>>   Documentation/software-isp-benchmarking.rst   |  2 ++\n>>   Documentation/theme/static/css/theme.css      |  4 +++\n>>   19 files changed, 67 insertions(+), 1 deletion(-)\n>>   create mode 100644 Documentation/documentation-contents.rst\n>>\n>> diff --git a/Documentation/camera-sensor-model.rst b/Documentation/camera-sensor-model.rst\n>> index b66c880a..87a25bf4 100644\n>> --- a/Documentation/camera-sensor-model.rst\n>> +++ b/Documentation/camera-sensor-model.rst\n>> @@ -1,5 +1,7 @@\n>>   .. SPDX-License-Identifier: CC-BY-SA-4.0\n>>   \n>> +.. include:: documentation-contents.rst\n>> +\n>>   .. _camera-sensor-model:\n>>   \n>>   .. todo: Move to Doxygen-generated documentation\n>> diff --git a/Documentation/code-of-conduct.rst b/Documentation/code-of-conduct.rst\n>> index 38b7d7ad..0edd1e99 100644\n>> --- a/Documentation/code-of-conduct.rst\n>> +++ b/Documentation/code-of-conduct.rst\n>> @@ -1,5 +1,7 @@\n>>   .. SPDX-License-Identifier: CC-BY-4.0\n>>   \n>> +.. include:: documentation-contents.rst\n>> +\n>>   .. _code-of-conduct:\n>>   \n>>   Contributor Covenant Code of Conduct\n>> diff --git a/Documentation/coding-style.rst b/Documentation/coding-style.rst\n>> index 3352b75c..6ac3a4a0 100644\n>> --- a/Documentation/coding-style.rst\n>> +++ b/Documentation/coding-style.rst\n>> @@ -1,5 +1,7 @@\n>>   .. SPDX-License-Identifier: CC-BY-SA-4.0\n>>   \n>> +.. include:: documentation-contents.rst\n>> +\n>>   .. _coding-style-guidelines:\n>>   \n>>   Coding Style Guidelines\n>> diff --git a/Documentation/conf.py b/Documentation/conf.py\n>> index 7eeea7f3..325f2759 100644\n>> --- a/Documentation/conf.py\n>> +++ b/Documentation/conf.py\n>> @@ -61,7 +61,12 @@ language = 'en'\n>>   # List of patterns, relative to source directory, that match files and\n>>   # directories to ignore when looking for source files.\n>>   # This pattern also affects html_static_path and html_extra_path.\n>> -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']\n>> +exclude_patterns = [\n>> +    '_build',\n>> +    'Thumbs.db',\n>> +    '.DS_Store',\n>> +    'documentation-contents.rst',\n>> +]\n>>   \n>>   # The name of the Pygments (syntax highlighting) style to use.\n>>   pygments_style = None\n>> diff --git a/Documentation/docs.rst b/Documentation/docs.rst\n>> index a6e8a59a..5871961c 100644\n>> --- a/Documentation/docs.rst\n>> +++ b/Documentation/docs.rst\n>> @@ -3,6 +3,8 @@\n>>   .. contents::\n>>      :local:\n>>   \n>> +.. include:: documentation-contents.rst\n>> +\n>>   *************\n>>   Documentation\n>>   *************\n>> diff --git a/Documentation/documentation-contents.rst b/Documentation/documentation-contents.rst\n>> new file mode 100644\n>> index 00000000..a6915e05\n>> --- /dev/null\n>> +++ b/Documentation/documentation-contents.rst\n>> @@ -0,0 +1,27 @@\n>> +.. SPDX-License-Identifier: CC-BY-SA-4.0\n>> +\n>> +.. container:: documentation-nav\n>> +\n>> +   * :doc:`/api-html/index`\n>> +   * :doc:`/camera-sensor-model`\n>> +   * :doc:`/code-of-conduct`\n>> +   * :doc:`/coding-style`\n>> +   * :doc:`/environment_variables`\n>> +   * :doc:`/guides/application-developer`\n>> +   * :doc:`/guides/introduction`\n>> +   * :doc:`/guides/ipa`\n>> +   * :doc:`/guides/pipeline-handler`\n>> +   * :doc:`/guides/tracing`\n>> +   * :doc:`/lens_driver_requirements`\n>> +   * :doc:`/python-bindings`\n>> +   * :doc:`/sensor_driver_requirements`\n>> +   * :doc:`/software-isp-benchmarking`\n>> +\n>> +..\n>> +   The following directive adds the \"documentation\" class to all of the pages\n>> +   generated by sphinx. This is not relevant in libcamera nor addressed in the\n>> +   theme's CSS, since all of the pages here are documentation. It **is** used\n>> +   to properly format the documentation pages on libcamera.org and so should not\n>> +   be removed.\n>> +\n>> +.. rst-class:: documentation\n>> diff --git a/Documentation/environment_variables.rst b/Documentation/environment_variables.rst\n>> index de434c38..7da9883a 100644\n>> --- a/Documentation/environment_variables.rst\n>> +++ b/Documentation/environment_variables.rst\n>> @@ -1,5 +1,7 @@\n>>   .. SPDX-License-Identifier: CC-BY-SA-4.0\n>>   \n>> +.. include:: documentation-contents.rst\n>> +\n>>   Environment variables\n>>   =====================\n>>   \n>> diff --git a/Documentation/getting-started.rst b/Documentation/getting-started.rst\n>> index 987f43f7..63b050eb 100644\n>> --- a/Documentation/getting-started.rst\n>> +++ b/Documentation/getting-started.rst\n>> @@ -1,4 +1,5 @@\n>>   .. SPDX-License-Identifier: CC-BY-SA-4.0\n>> +\n>>   .. Getting started information is defined in the project README file.\n>>   .. include:: ../README.rst\n>>      :start-after: .. section-begin-getting-started\n>> diff --git a/Documentation/guides/application-developer.rst b/Documentation/guides/application-developer.rst\n>> index 92e2a373..1ea8c40f 100644\n>> --- a/Documentation/guides/application-developer.rst\n>> +++ b/Documentation/guides/application-developer.rst\n>> @@ -1,5 +1,7 @@\n>>   .. SPDX-License-Identifier: CC-BY-SA-4.0\n>>   \n>> +.. include:: ../documentation-contents.rst\n>> +\n>>   Using libcamera in a C++ application\n>>   ====================================\n>>   \n>> diff --git a/Documentation/guides/introduction.rst b/Documentation/guides/introduction.rst\n>> index 700ec2d3..8368bd4a 100644\n>> --- a/Documentation/guides/introduction.rst\n>> +++ b/Documentation/guides/introduction.rst\n>> @@ -1,5 +1,7 @@\n>>   .. SPDX-License-Identifier: CC-BY-SA-4.0\n>>   \n>> +.. include:: ../documentation-contents.rst\n>> +\n>>   Developers guide to libcamera\n>>   =============================\n>>   \n>> diff --git a/Documentation/guides/ipa.rst b/Documentation/guides/ipa.rst\n>> index 25deadef..cd640563 100644\n>> --- a/Documentation/guides/ipa.rst\n>> +++ b/Documentation/guides/ipa.rst\n>> @@ -1,5 +1,7 @@\n>>   .. SPDX-License-Identifier: CC-BY-SA-4.0\n>>   \n>> +.. include:: ../documentation-contents.rst\n>> +\n>>   IPA Writer's Guide\n>>   ==================\n>>   \n>> diff --git a/Documentation/guides/pipeline-handler.rst b/Documentation/guides/pipeline-handler.rst\n>> index 5aa09e90..26aea433 100644\n>> --- a/Documentation/guides/pipeline-handler.rst\n>> +++ b/Documentation/guides/pipeline-handler.rst\n>> @@ -1,5 +1,7 @@\n>>   .. SPDX-License-Identifier: CC-BY-SA-4.0\n>>   \n>> +.. include:: ../documentation-contents.rst\n>> +\n>>   Pipeline Handler Writers Guide\n>>   ==============================\n>>   \n>> diff --git a/Documentation/guides/tracing.rst b/Documentation/guides/tracing.rst\n>> index ae960d85..537dce50 100644\n>> --- a/Documentation/guides/tracing.rst\n>> +++ b/Documentation/guides/tracing.rst\n>> @@ -1,5 +1,7 @@\n>>   .. SPDX-License-Identifier: CC-BY-SA-4.0\n>>   \n>> +.. include:: ../documentation-contents.rst\n>> +\n>>   Tracing Guide\n>>   =============\n>>   \n>> diff --git a/Documentation/lens_driver_requirements.rst b/Documentation/lens_driver_requirements.rst\n>> index b96e502d..85fef76f 100644\n>> --- a/Documentation/lens_driver_requirements.rst\n>> +++ b/Documentation/lens_driver_requirements.rst\n>> @@ -1,5 +1,7 @@\n>>   .. SPDX-License-Identifier: CC-BY-SA-4.0\n>>   \n>> +.. include:: documentation-contents.rst\n>> +\n>>   .. _lens-driver-requirements:\n>>   \n>>   Lens Driver Requirements\n>> diff --git a/Documentation/meson.build b/Documentation/meson.build\n>> index 1ba40fdf..c5736991 100644\n>> --- a/Documentation/meson.build\n>> +++ b/Documentation/meson.build\n>> @@ -129,6 +129,7 @@ if sphinx.found()\n>>           'conf.py',\n>>           'contributing.rst',\n>>           'docs.rst',\n>> +\t'documentation-contents.rst',\n> Don't you use checkstyle.py through git hooks ?\n\n\nI don't...and did indeed forget to run it. You're right...I'll set it up\n\n>\n>>           'environment_variables.rst',\n>>           'guides/application-developer.rst',\n>>           'guides/introduction.rst',\n>> diff --git a/Documentation/python-bindings.rst b/Documentation/python-bindings.rst\n>> index ed9f686b..94712238 100644\n>> --- a/Documentation/python-bindings.rst\n>> +++ b/Documentation/python-bindings.rst\n>> @@ -1,5 +1,7 @@\n>>   .. SPDX-License-Identifier: CC-BY-SA-4.0\n>>   \n>> +.. include:: documentation-contents.rst\n>> +\n>>   .. _python-bindings:\n>>   \n>>   Python Bindings for libcamera\n>> diff --git a/Documentation/sensor_driver_requirements.rst b/Documentation/sensor_driver_requirements.rst\n>> index 0e516b34..fb4269d0 100644\n>> --- a/Documentation/sensor_driver_requirements.rst\n>> +++ b/Documentation/sensor_driver_requirements.rst\n>> @@ -1,5 +1,7 @@\n>>   .. SPDX-License-Identifier: CC-BY-SA-4.0\n>>   \n>> +.. include:: documentation-contents.rst\n>> +\n>>   .. _sensor-driver-requirements:\n>>   \n>>   Sensor Driver Requirements\n>> diff --git a/Documentation/software-isp-benchmarking.rst b/Documentation/software-isp-benchmarking.rst\n>> index b3033132..9c2a409b 100644\n>> --- a/Documentation/software-isp-benchmarking.rst\n>> +++ b/Documentation/software-isp-benchmarking.rst\n>> @@ -1,5 +1,7 @@\n>>   .. SPDX-License-Identifier: CC-BY-SA-4.0\n>>   \n>> +.. include:: documentation-contents.rst\n>> +\n>>   .. _software-isp-benchmarking:\n>>   \n>>   Software ISP benchmarking\n>> diff --git a/Documentation/theme/static/css/theme.css b/Documentation/theme/static/css/theme.css\n>> index d4274ea6..2b1ed095 100644\n>> --- a/Documentation/theme/static/css/theme.css\n>> +++ b/Documentation/theme/static/css/theme.css\n>> @@ -289,3 +289,7 @@ div#signature {\n>>   \tpadding: 0px;\n>>   \tvisibility: hidden;\n>>   }\n>> +\n>> +.documentation-nav {\n>> +\tdisplay: none;\n>> +}","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 3E667BDB13\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 19 Aug 2024 08:11:53 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 33E80633BD;\n\tMon, 19 Aug 2024 10:11:52 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 22FA86337E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 19 Aug 2024 10:11:51 +0200 (CEST)","from [192.168.0.43]\n\t(cpc141996-chfd3-2-0-cust928.12-3.cable.virginm.net [86.13.91.161])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 9982B5A5;\n\tMon, 19 Aug 2024 10:10:49 +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=\"V+fd2Sq9\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1724055049;\n\tbh=zWfLVw1lOODr18UPyKRCvYCRl/clIKFa3B0+qSk0UBw=;\n\th=Date:Subject:To:Cc:References:From:In-Reply-To:From;\n\tb=V+fd2Sq90+PYw/CeWyFqn3k+A85Gw+NNs8AjqsRptRSBNzxP2NR9Cp0FezA9MOtMu\n\tUXBEqqkpI2TCWNhCxq3oxHwWw3IcQ7JfxffFpVq4I9j9tt389EaisH2FVtDkIi/x7F\n\tljhDTbHxXetjj6sqHPbExQcrMgRPgHgdZnGT9vyA=","Message-ID":"<e0bfd44b-405f-4fc3-8626-89ae7674c1d4@ideasonboard.com>","Date":"Mon, 19 Aug 2024 09:11:47 +0100","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [PATCH v2 1/7] Documentation: Add documentation-contents.rst","To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Cc":"libcamera-devel@lists.libcamera.org","References":"<20240815082944.170109-1-dan.scally@ideasonboard.com>\n\t<20240815082944.170109-2-dan.scally@ideasonboard.com>\n\t<20240816004342.GA15356@pendragon.ideasonboard.com>","Content-Language":"en-US","From":"Dan Scally <dan.scally@ideasonboard.com>","Autocrypt":"addr=dan.scally@ideasonboard.com; keydata=\n\txsFNBGLydlEBEADa5O2s0AbUguprfvXOQun/0a8y2Vk6BqkQALgeD6KnXSWwaoCULp18etYW\n\tB31bfgrdphXQ5kUQibB0ADK8DERB4wrzrUb5CMxLBFE7mQty+v5NsP0OFNK9XTaAOcmD+Ove\n\teIjYvqurAaro91jrRVrS1gBRxIFqyPgNvwwL+alMZhn3/2jU2uvBmuRrgnc/e9cHKiuT3Dtq\n\tMHGPKL2m+plk+7tjMoQFfexoQ1JKugHAjxAhJfrkXh6uS6rc01bYCyo7ybzg53m1HLFJdNGX\n\tsUKR+dQpBs3SY4s66tc1sREJqdYyTsSZf80HjIeJjU/hRunRo4NjRIJwhvnK1GyjOvvuCKVU\n\tRWpY8dNjNu5OeAfdrlvFJOxIE9M8JuYCQTMULqd1NuzbpFMjc9524U3Cngs589T7qUMPb1H1\n\tNTA81LmtJ6Y+IV5/kiTUANflpzBwhu18Ok7kGyCq2a2j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JzOC\n\tFHRpGadlNzKDE3fEdoMobxHB3Lm6FDml5GyBAA8+dQYVI0oDwJ3gpZPZ0J5Vx9RbqXe8RDuR\n\tdu90hvCJkq7/tzSQ0GeD3BwXb9/R/A4dVXhaDd91Q1qQXidI+2jwhx8iqiYxbT+DoAUkQRQy\n\txBtoCM1CxH7u45URUgD//fxYr3D4B1SlonA6vdaEdHZOGwECnDpTxecENMbz/Bx7qfrmd901\n\tD+N9SjIwrbVhhSyUXYnSUb8F+9g2RDY42Sk7GcYxIeON4VzKqWM7hpkXZ47pkK0YodO+dRKM\n\tyMcoUWrTK0Uz6UzUGKoJVbxmSW/EJLEGoI5p3NWxWtScEVv8mO49gqQdrRIOheZycDmHnItt\n\t9Qjv00uFhEwv2YfiyGk6iGF2W40s2pH2t6oeuGgmiZ7g6d0MEK8Ql/4zPItvr1c1rpwpXUC1\n\tu1kQWgtnNjFHX3KiYdqjcZeRBiry1X0zY+4Y24wUU0KsEewJwjhmCKAsju1RpdlPg2kC","In-Reply-To":"<20240816004342.GA15356@pendragon.ideasonboard.com>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"7bit","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>"}}]