* [libgpiod][PATCH] core: doc: fix line_config documentation generation
@ 2023-06-09 4:07 Kent Gibson
2023-06-09 7:38 ` Bartosz Golaszewski
0 siblings, 1 reply; 2+ messages in thread
From: Kent Gibson @ 2023-06-09 4:07 UTC (permalink / raw)
To: linux-gpio, brgl; +Cc: Kent Gibson
The line configuration is missing from the generated documentation as the
comment for the defgroup is a normal comment, not a doc comment.
Add the asterisk to make the section a doc comment.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
---
I took the liberty of patching and updating the rtd documentation, so it
is already fixed there.
It would be nice if the generated documentation would provide links from
the "struct gpiod_line_config" to the corresponding page. But not sure
how to do that, or if it is even possible.
Cheers,
Kent.
include/gpiod.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/gpiod.h b/include/gpiod.h
index d1833de..5d4b6af 100644
--- a/include/gpiod.h
+++ b/include/gpiod.h
@@ -715,7 +715,7 @@ int gpiod_line_settings_set_output_value(struct gpiod_line_settings *settings,
enum gpiod_line_value
gpiod_line_settings_get_output_value(struct gpiod_line_settings *settings);
-/*
+/**
* @}
*
* @defgroup line_config Line configuration objects
--
2.40.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [libgpiod][PATCH] core: doc: fix line_config documentation generation
2023-06-09 4:07 [libgpiod][PATCH] core: doc: fix line_config documentation generation Kent Gibson
@ 2023-06-09 7:38 ` Bartosz Golaszewski
0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2023-06-09 7:38 UTC (permalink / raw)
To: Kent Gibson; +Cc: linux-gpio
On Fri, Jun 9, 2023 at 6:07 AM Kent Gibson <warthog618@gmail.com> wrote:
>
> The line configuration is missing from the generated documentation as the
> comment for the defgroup is a normal comment, not a doc comment.
>
> Add the asterisk to make the section a doc comment.
>
> Signed-off-by: Kent Gibson <warthog618@gmail.com>
> ---
>
> I took the liberty of patching and updating the rtd documentation, so it
> is already fixed there.
>
> It would be nice if the generated documentation would provide links from
> the "struct gpiod_line_config" to the corresponding page. But not sure
> how to do that, or if it is even possible.
>
> Cheers,
> Kent.
>
> include/gpiod.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/gpiod.h b/include/gpiod.h
> index d1833de..5d4b6af 100644
> --- a/include/gpiod.h
> +++ b/include/gpiod.h
> @@ -715,7 +715,7 @@ int gpiod_line_settings_set_output_value(struct gpiod_line_settings *settings,
> enum gpiod_line_value
> gpiod_line_settings_get_output_value(struct gpiod_line_settings *settings);
>
> -/*
> +/**
> * @}
> *
> * @defgroup line_config Line configuration objects
> --
> 2.40.1
>
Applied, thanks!
Bart
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-09 7:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-09 4:07 [libgpiod][PATCH] core: doc: fix line_config documentation generation Kent Gibson
2023-06-09 7:38 ` Bartosz Golaszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).