All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrea Cervesato <andrea.cervesato@suse.de>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 1/2] docs: make sure docs are built if filesystems is empty
Date: Tue, 17 Jun 2025 09:47:03 +0200	[thread overview]
Message-ID: <20250617-doc_fix_table_generate-v1-1-e96beeb2bdf7@suse.com> (raw)
In-Reply-To: <20250617-doc_fix_table_generate-v1-0-e96beeb2bdf7@suse.com>

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

Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
 doc/conf.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/conf.py b/doc/conf.py
index 23fe7a1b9742f604a5b97f0db62b29ed9c64c445..da768232b5451bd507d2ffacc12e20c2e0a8321c 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -422,7 +422,8 @@ def _generate_setup_table(keys):
             else:
                 values.append(value)
 
-        table.extend(_generate_table_cell(key, values))
+        if values:
+            table.extend(_generate_table_cell(key, values))
 
     return table
 

-- 
2.43.0


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

  reply	other threads:[~2025-06-17  7:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-17  7:47 [LTP] [PATCH 0/2] docs: cleanup and fix Andrea Cervesato
2025-06-17  7:47 ` Andrea Cervesato [this message]
2025-06-17  8:12   ` [LTP] [PATCH 1/2] docs: make sure docs are built if filesystems is empty Cyril Hrubis
2025-06-17  7:47 ` [LTP] [PATCH 2/2] docs: make sphinx verbose so it's easier to debug in CI Andrea Cervesato
2025-06-17  8:13   ` Cyril Hrubis
2025-06-17  8:16 ` [LTP] [PATCH 0/2] docs: cleanup and fix Andrea Cervesato via ltp

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=20250617-doc_fix_table_generate-v1-1-e96beeb2bdf7@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.