From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 10671A0093 for ; Tue, 19 May 2020 15:00:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 07DE41D5DE; Tue, 19 May 2020 15:00:36 +0200 (CEST) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by dpdk.org (Postfix) with ESMTP id E8F7B1D621 for ; Tue, 19 May 2020 15:00:34 +0200 (CEST) Received: by mail-wm1-f53.google.com with SMTP id n5so3478436wmd.0 for ; Tue, 19 May 2020 06:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OJume0R9SWB2+Rr8gRA9Q6jPPKhLfVOL7J4Q/QU4K1Y=; b=N6M5d87SpY9eXXu3eB44o9zaxJS8CYgruZeJ8GuqNidykrgeTh5Vr431Av2aG2x7m3 VjPrB/dqshg4WZihWrPJL0AyTrfNN3LktbRPDoHDwRYCfILzTF5YC7YJSfkOD9YJAvji MvkN5dZfo3D7Yg+hVodoVrYaRQyecvA4wsPk1cUoJNopIU5Y14qmnSVxqWhgPecqwviw fwyYt4T0xyD6QEDMEVN4yQz5YdX0B75aZl6efy+bxJo1RXlQDrAPIG3tjrRuJ2R2uOnD pC4IygCHlaYMULsetCKLgI3V+z+pbrKfbwbMSof58u2hVgiykS07fb31qLaDLJN3Ad/2 zHIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OJume0R9SWB2+Rr8gRA9Q6jPPKhLfVOL7J4Q/QU4K1Y=; b=uWL/q5WeOAZpxqX/bYvfqo8PU+QoIYxhqPoFpa24Rgn0W4h+DgPJxNg1P7anc/48K4 5VqdD3DiYQ3NkczEedeC/2dx7A5MmYzj8iCFgwa3seCEeOwf7tlxnTNRj/jM3UACqdvd 1g9TrIT2pYMuPWmUyIXn52D32ixqDX1Yu6WytX/5wkSS7Sustv2c6/R1EXf6VU/cNsVU CF13jMKVEI8l8LwuMOc8jZBQ/orBgrupcFRf6WGEoFDBavHonyaPrxun1zi5+JbhUnV0 sY4q3lNIds58McrnhiZA/7HBI+1xR5gQjj3rsm/8rpYt6GeXBaG3hgF1WNgPK2v9/YyC T8jQ== X-Gm-Message-State: AOAM531rb5aCsCyWtWlgestpZAfHFyqaaarRyjVKVlWA5/FPwnJhEWi+ U623xqfbEErmjbf+0KoKuwUNXSgjB2L0fBR1 X-Google-Smtp-Source: ABdhPJyS6PjlHHu09/b+ZGzTMGzCwXz4ffjS4uMX+05ANmMWEVwmE5FiLrAqQPAlkqqj6sldTIhlig== X-Received: by 2002:a1c:6204:: with SMTP id w4mr5409272wmb.55.1589893234282; Tue, 19 May 2020 06:00:34 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id q17sm4041987wmk.36.2020.05.19.06.00.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 06:00:33 -0700 (PDT) From: luca.boccassi@gmail.com To: Thomas Monjalon Cc: dpdk stable Date: Tue, 19 May 2020 13:54:21 +0100 Message-Id: <20200519125804.104349-71-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519125804.104349-1-luca.boccassi@gmail.com> References: <20200519125804.104349-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'doc: fix matrix CSS for recent sphinx' has been queued to stable release 19.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/21/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From 8eefb8787a155174920b16919a53cafc0654c631 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Thu, 12 Mar 2020 00:01:34 +0100 Subject: [PATCH] doc: fix matrix CSS for recent sphinx [ upstream commit cc64c593a7785fc810e2f762e12c8b29b418ac5d ] It seems sphinx >= 2.0 is inserting a

tag in each table cell. The feature table (matrix) style needs to be updated to avoid cells being too big. The margin, padding and line height are overridden. The font size in percentage is replaced with an equivalent pixel size. The border is explicit because it disappeared for th. Signed-off-by: Thomas Monjalon --- doc/guides/conf.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 797ad1ef4b..c1a82be95b 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -314,16 +314,22 @@ def print_table_css(outfile, table_id): cursor: default; overflow: hidden; } + table#idx p { + margin: 0; + line-height: inherit; + } table#idx th, table#idx td { text-align: center; + border: solid 1px #ddd; } table#idx th { - font-size: 72%; + padding: 0.5em 0; + } + table#idx th, table#idx th p { + font-size: 11px; white-space: pre-wrap; vertical-align: top; - padding: 0.5em 0; min-width: 0.9em; - width: 2em; } table#idx col:first-child { width: 0; @@ -332,9 +338,11 @@ def print_table_css(outfile, table_id): vertical-align: bottom; } table#idx td { - font-size: 70%; padding: 1px; } + table#idx td, table#idx td p { + font-size: 11px; + } table#idx td:first-child { padding-left: 1em; text-align: left; -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-05-19 13:56:21.695434064 +0100 +++ 0071-doc-fix-matrix-CSS-for-recent-sphinx.patch 2020-05-19 13:56:18.299503260 +0100 @@ -1,8 +1,10 @@ -From cc64c593a7785fc810e2f762e12c8b29b418ac5d Mon Sep 17 00:00:00 2001 +From 8eefb8787a155174920b16919a53cafc0654c631 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Thu, 12 Mar 2020 00:01:34 +0100 Subject: [PATCH] doc: fix matrix CSS for recent sphinx +[ upstream commit cc64c593a7785fc810e2f762e12c8b29b418ac5d ] + It seems sphinx >= 2.0 is inserting a

tag in each table cell. The feature table (matrix) style needs to be updated to avoid cells being too big. @@ -17,7 +19,7 @@ 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py -index 08dcfcff54..9093ad31a0 100644 +index 797ad1ef4b..c1a82be95b 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -314,16 +314,22 @@ def print_table_css(outfile, table_id):