From: Andrea Cervesato <andrea.cervesato@suse.de>
To: Linux Test Project <ltp@lists.linux.it>
Subject: [LTP] [PATCH v2 2/2] doc: conf.py: Show groups in test catalog
Date: Thu, 18 Jun 2026 16:10:27 +0200 [thread overview]
Message-ID: <20260618-metadata_groups-v2-2-6ab298932233@suse.com> (raw)
In-Reply-To: <20260618-metadata_groups-v2-0-6ab298932233@suse.com>
From: Andrea Cervesato <andrea.cervesato@suse.com>
Display the groups field from metadata in the generated test catalog
pages. Groups appear after the source link and before the test
description.
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
doc/conf.py | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/doc/conf.py b/doc/conf.py
index 591c1534dfa7e54b816e88b9eca1dd7fb91df255..c28db7af1622d28ff79d128c73e3e3c9d8dea112 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -394,6 +394,7 @@ def _generate_setup_table(keys):
'needs_checkpoints',
'forks_child',
'tags',
+ 'groups',
]
my_keys = {k: v for k, v in keys.items() if k not in exclude}
if len(my_keys) == 0:
@@ -482,6 +483,15 @@ def generate_test_catalog(_):
''
])
+ # groups information
+ groups = conf.get('groups', None)
+ if groups:
+ text.extend([
+ '',
+ f"**Groups**: {', '.join(groups)}",
+ ''
+ ])
+
# test description
desc = conf.get('doc', None)
if desc:
--
2.51.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2026-06-18 14:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-18 14:10 [LTP] [PATCH v2 0/2] Support metadata groups Andrea Cervesato
2026-06-18 14:10 ` [LTP] [PATCH v2 1/2] metadata: add tests grouping support Andrea Cervesato
2026-06-18 16:40 ` [LTP] " linuxtestproject.agent
2026-06-18 14:10 ` Andrea Cervesato [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260618-metadata_groups-v2-2-6ab298932233@suse.com \
--to=andrea.cervesato@suse.de \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox