[LTP] [PATCH 1/1] metaparse: Add "api" to JSON

Petr Vorel pvorel@suse.cz
Wed Feb 12 16:43:13 CET 2025


Hi Cyril, Andrea,

> metaparse.c prints api: "c"
> metaparse-sh.c prints api: "shell"

> This is important for the sphinx (readthedoc) test catalog, which will
> generate links to C API and shell API (links will be different).

Ah, "api" needs to be filtered out in doc/conf.py. It will be used in the code,
not presented.

Kind regards,
Petr

diff --git doc/conf.py doc/conf.py
index 0bebd0e242..22f272ad59 100644
--- doc/conf.py
+++ doc/conf.py
@@ -361,6 +361,7 @@ def _generate_setup_table(keys):
         'fname',
         'doc',
         # following keys don't need to be shown
+        'api',
         'child_needs_reinit',
         'needs_checkpoints',
         'forks_child',


More information about the ltp mailing list