public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v1] doc: Add section for C API documentation
@ 2024-04-15  9:18 Andrea Cervesato
  2024-04-16 12:53 ` Cyril Hrubis
  0 siblings, 1 reply; 5+ messages in thread
From: Andrea Cervesato @ 2024-04-15  9:18 UTC (permalink / raw)
  To: ltp

From: Andrea Cervesato <andrea.cervesato@suse.com>

Added information about the C API documentation format and the way
it's supported in Sphinx.

Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
 doc/developers/documentation.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/doc/developers/documentation.rst b/doc/developers/documentation.rst
index 5b112bcaf..30dacd384 100644
--- a/doc/developers/documentation.rst
+++ b/doc/developers/documentation.rst
@@ -47,3 +47,11 @@ To check documentation words spelling, we provide support for
 documentation can be tested via ``make spelling`` command. Output will be
 visible in the ``doc/build`` folder and, if any error will be found, a warning
 message will be shown.
+
+C API documentation
+~~~~~~~~~~~~~~~~~~~
+
+The C API documentation is written using
+`kernel-doc <https://return42.github.io/linuxdoc/linuxdoc-howto/kernel-doc-syntax.html>`_
+syntax which is supported by Sphinx via
+`linuxdoc <https://pypi.org/project/linuxdoc/>`_ extension.
-- 
2.35.3


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [LTP] [PATCH v1] doc: Add section for C API documentation
  2024-04-15  9:18 [LTP] [PATCH v1] doc: Add section for C API documentation Andrea Cervesato
@ 2024-04-16 12:53 ` Cyril Hrubis
  2024-04-17  9:19   ` Petr Vorel
  0 siblings, 1 reply; 5+ messages in thread
From: Cyril Hrubis @ 2024-04-16 12:53 UTC (permalink / raw)
  To: Andrea Cervesato; +Cc: ltp

Hi!
> +The C API documentation is written using

Maybe to be a bit more clear:

"The C API documentation is generated from headers using" ?

> +`kernel-doc <https://return42.github.io/linuxdoc/linuxdoc-howto/kernel-doc-syntax.html>`_
> +syntax which is supported by Sphinx via
> +`linuxdoc <https://pypi.org/project/linuxdoc/>`_ extension.
> -- 
> 2.35.3
> 
> 
> -- 
> Mailing list info: https://lists.linux.it/listinfo/ltp

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LTP] [PATCH v1] doc: Add section for C API documentation
  2024-04-16 12:53 ` Cyril Hrubis
@ 2024-04-17  9:19   ` Petr Vorel
  2024-04-17  9:20     ` Andrea Cervesato via ltp
  0 siblings, 1 reply; 5+ messages in thread
From: Petr Vorel @ 2024-04-17  9:19 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: ltp

Hi,

> Hi!
> > +The C API documentation is written using

> Maybe to be a bit more clear:

> "The C API documentation is generated from headers using" ?

+1

with that change:
Reviewed-by: Petr Vorel <pvorel@suse.cz>

If you both agree, I'll merge it with this change.

Kind regards,
Petr

> > +`kernel-doc <https://return42.github.io/linuxdoc/linuxdoc-howto/kernel-doc-syntax.html>`_
> > +syntax which is supported by Sphinx via
> > +`linuxdoc <https://pypi.org/project/linuxdoc/>`_ extension.
> > -- 
> > 2.35.3


> > -- 
> > Mailing list info: https://lists.linux.it/listinfo/ltp

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LTP] [PATCH v1] doc: Add section for C API documentation
  2024-04-17  9:19   ` Petr Vorel
@ 2024-04-17  9:20     ` Andrea Cervesato via ltp
  2024-04-17 10:07       ` Petr Vorel
  0 siblings, 1 reply; 5+ messages in thread
From: Andrea Cervesato via ltp @ 2024-04-17  9:20 UTC (permalink / raw)
  To: Petr Vorel, Cyril Hrubis; +Cc: ltp

Hi!

On 4/17/24 11:19, Petr Vorel wrote:
> Hi,
>
>> Hi!
>>> +The C API documentation is written using
>> Maybe to be a bit more clear:
>> "The C API documentation is generated from headers using" ?
> +1
>
> with that change:
> Reviewed-by: Petr Vorel <pvorel@suse.cz>
>
> If you both agree, I'll merge it with this change.

Sure.

Acked-by: Andrea Cervesato <andrea.cervesato@suse.com>

>
> Kind regards,
> Petr
>
>>> +`kernel-doc <https://return42.github.io/linuxdoc/linuxdoc-howto/kernel-doc-syntax.html>`_
>>> +syntax which is supported by Sphinx via
>>> +`linuxdoc <https://pypi.org/project/linuxdoc/>`_ extension.
>>> -- 
>>> 2.35.3
>
>>> -- 
>>> Mailing list info: https://lists.linux.it/listinfo/ltp

Andrea


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LTP] [PATCH v1] doc: Add section for C API documentation
  2024-04-17  9:20     ` Andrea Cervesato via ltp
@ 2024-04-17 10:07       ` Petr Vorel
  0 siblings, 0 replies; 5+ messages in thread
From: Petr Vorel @ 2024-04-17 10:07 UTC (permalink / raw)
  To: Andrea Cervesato; +Cc: ltp

Hi Andrea, Cyril,

> Hi!

> On 4/17/24 11:19, Petr Vorel wrote:
> > Hi,

> > > Hi!
> > > > +The C API documentation is written using
> > > Maybe to be a bit more clear:
> > > "The C API documentation is generated from headers using" ?
> > +1

> > with that change:
> > Reviewed-by: Petr Vorel <pvorel@suse.cz>

> > If you both agree, I'll merge it with this change.

> Sure.

Good, merged with this change (and Cyril's RBT).

> Acked-by: Andrea Cervesato <andrea.cervesato@suse.com>

FYI not added this, as you are the patch author (there is your SOB).

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-17 10:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-15  9:18 [LTP] [PATCH v1] doc: Add section for C API documentation Andrea Cervesato
2024-04-16 12:53 ` Cyril Hrubis
2024-04-17  9:19   ` Petr Vorel
2024-04-17  9:20     ` Andrea Cervesato via ltp
2024-04-17 10:07       ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox