libcamera/src
Laurent Pinchart ce690bd9d7 libcamera: controls: Improve formatting of control descriptions in YAML
The control descriptions from YAML files are extracted to generate
Doxygen documentation blocks for the controls, which are then compiled
to HTML. The extraction script uses the first line of the description
as the Doxygen \brief, and preserves blank lines to keep paragraphs.

The control descriptions in the YAML files have however not all been
written with this in mind. Many description elements are not formatted
as block string scalars, in the first place, so blank lines are lost
when parsing YAML. Furthermore, they often start with a long initial
paragraph, making the \brief description very long.

Improve the documentation formatting by marking all multiline
descriptions as block string scalars, and try to provide a short
one-line first paragraph to be used as a \brief. While at it, reflow the
documentation to the 80 columns limit.

The draft controls are left as-is, as they should evolve to non-draft
controls eventually (and ideally sooner than later).

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Milan Zamazal <mzamazal@redhat.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2024-08-16 00:50:53 +03:00
..
android libcamera: Avoid variable-length arrays 2024-07-31 01:22:13 +03:00
apps libcamera: Avoid variable-length arrays 2024-07-31 01:22:13 +03:00
gstreamer libcamera: Fix header grouping 2024-08-12 14:57:35 +03:00
ipa ipa: libipa: Add missing CameraSensorHelper fn label in docs 2024-08-12 15:44:23 +03:00
libcamera libcamera: controls: Improve formatting of control descriptions in YAML 2024-08-16 00:50:53 +03:00
py py: gen-py-controls: Convert to jinja2 templates 2024-08-16 00:28:32 +03:00
v4l2 v4l2: v4l2_compat: Fix ioctl() prototype with musl C library 2024-07-25 11:57:15 +01:00
meson.build v4l2: Move the v4l2 compat layer to libexec/libcamera 2023-05-04 20:05:02 +01:00