[v4,8/9] Documentation: Add internal-api-html placeholder
diff mbox series

Message ID 20240820130740.568243-9-dan.scally@ideasonboard.com
State Accepted
Headers show
Series
  • Documentation improvements
Related show

Commit Message

Daniel Scally Aug. 20, 2024, 1:07 p.m. UTC
Mimicing the existing api-html placeholder, add a placeholder for the
internal version of the Doxygen generated API documentation so that
the website can generate hyperlinks to it properly.

Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
---
Changes since v3:

	- New patch

 Documentation/documentation-contents.rst  | 1 +
 Documentation/internal-api-html/index.rst | 8 ++++++++
 Documentation/introduction.rst            | 1 +
 3 files changed, 10 insertions(+)
 create mode 100644 Documentation/internal-api-html/index.rst

Comments

Laurent Pinchart Aug. 20, 2024, 1:22 p.m. UTC | #1
Hi Dan,

Thank you for the patch.

On Tue, Aug 20, 2024 at 02:07:39PM +0100, Daniel Scally wrote:
> Mimicing the existing api-html placeholder, add a placeholder for the

s/Mimicing/Mimicking/

> internal version of the Doxygen generated API documentation so that
> the website can generate hyperlinks to it properly.
> 
> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
> ---
> Changes since v3:
> 
> 	- New patch
> 
>  Documentation/documentation-contents.rst  | 1 +
>  Documentation/internal-api-html/index.rst | 8 ++++++++
>  Documentation/introduction.rst            | 1 +
>  3 files changed, 10 insertions(+)
>  create mode 100644 Documentation/internal-api-html/index.rst
> 
> diff --git a/Documentation/documentation-contents.rst b/Documentation/documentation-contents.rst
> index c14389bc..912b13f3 100644
> --- a/Documentation/documentation-contents.rst
> +++ b/Documentation/documentation-contents.rst
> @@ -3,6 +3,7 @@
>  .. container:: documentation-nav
>  
>     * :doc:`/api-html/index`
> +   * :doc:`/internal-api-html/index`
>     * :doc:`/camera-sensor-model`
>     * :doc:`/code-of-conduct`
>     * :doc:`/coding-style`
> diff --git a/Documentation/internal-api-html/index.rst b/Documentation/internal-api-html/index.rst
> new file mode 100644
> index 00000000..0044a2d1
> --- /dev/null
> +++ b/Documentation/internal-api-html/index.rst
> @@ -0,0 +1,8 @@
> +.. SPDX-License-Identifier: CC-BY-SA-4.0
> +
> +.. _internal-api:
> +
> +Internal API

What if you named this "Internal API Reference" (and renamed "API" to
"API Reference" in the corresponding file, would that allow removing the
manual labels from Documentation/documentation-contents.rst in patch
9/9 ?

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> +============
> +
> +:: Placeholder for Doxygen documentation
> diff --git a/Documentation/introduction.rst b/Documentation/introduction.rst
> index 8f96c65f..5c64d08c 100644
> --- a/Documentation/introduction.rst
> +++ b/Documentation/introduction.rst
> @@ -13,6 +13,7 @@ Documentation
>     :hidden:
>  
>     API <api-html/index>
> +   Internal API <internal-api-html/index>
>  
>  What is libcamera?
>  ==================

Patch
diff mbox series

diff --git a/Documentation/documentation-contents.rst b/Documentation/documentation-contents.rst
index c14389bc..912b13f3 100644
--- a/Documentation/documentation-contents.rst
+++ b/Documentation/documentation-contents.rst
@@ -3,6 +3,7 @@ 
 .. container:: documentation-nav
 
    * :doc:`/api-html/index`
+   * :doc:`/internal-api-html/index`
    * :doc:`/camera-sensor-model`
    * :doc:`/code-of-conduct`
    * :doc:`/coding-style`
diff --git a/Documentation/internal-api-html/index.rst b/Documentation/internal-api-html/index.rst
new file mode 100644
index 00000000..0044a2d1
--- /dev/null
+++ b/Documentation/internal-api-html/index.rst
@@ -0,0 +1,8 @@ 
+.. SPDX-License-Identifier: CC-BY-SA-4.0
+
+.. _internal-api:
+
+Internal API
+============
+
+:: Placeholder for Doxygen documentation
diff --git a/Documentation/introduction.rst b/Documentation/introduction.rst
index 8f96c65f..5c64d08c 100644
--- a/Documentation/introduction.rst
+++ b/Documentation/introduction.rst
@@ -13,6 +13,7 @@  Documentation
    :hidden:
 
    API <api-html/index>
+   Internal API <internal-api-html/index>
 
 What is libcamera?
 ==================