From patchwork Mon Nov 6 14:40:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 31213 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 617F81B2D1; Mon, 6 Nov 2017 15:41:05 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 9920A1B2CF for ; Mon, 6 Nov 2017 15:41:03 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 08C4F20BA9; Mon, 6 Nov 2017 09:41:03 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 06 Nov 2017 09:41:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc; s=mesmtp; bh=KW6RqLLpIfquvAy/qmg6k95vDrXnfpPhNJ5QJn z5T/c=; b=FB4ZNTXNm4TNp1lwirokYZk+1XehHDXOGa4+2kJp7zJ+Oe1AYt5X/U lADkm7nPl3Fyzi7ltWNCm+aULVvtECuxNTcEjras586m/VrC9JUY1fe9AxEun2Km PqifS/GqQmWOqadkOoQ0yjoOo3bSdeuquGDZb92ZzGU8hd2Y3uoac= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=KW6RqLLpIfquvAy/q mg6k95vDrXnfpPhNJ5QJnz5T/c=; b=Aie7bSWRbUVlp0fnTkqkmK1P22rUVkcqt fESbSJfKOy6OYUUHnT+0h2yIFx4JiKxbG08SF6N1gwosRqJ0s2mqxMqAZyfVz1bm 2dJYgMfERcbB1c7KfVn5xdrlGQTCSesOXbTZ/AYSgWbVHjlLiam19mQl6y+ngXUE PxUx68a+r1ePiwR4lFYT+fvPIg1m54OlyHEEFtZ9DRBQeqCm5OB/QZMPE3h5jNC0 Lg9ir7JAMzXFRFuKw3b2NDDxO7pFnSZsVD1+9dUy/AhUQ857cFzVoc3l/P9EDNZ+ 794y687PoOkBzYJKEEvN2PfOBHyCxCULc3QJdO/K2RFXzHaZpufEw== X-ME-Sender: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 7EAA0247AE; Mon, 6 Nov 2017 09:41:02 -0500 (EST) From: Thomas Monjalon To: john.mcnamara@intel.com Cc: dev@dpdk.org Date: Mon, 6 Nov 2017 15:40:54 +0100 Message-Id: <20171106144054.29316-1-thomas@monjalon.net> X-Mailer: git-send-email 2.14.2 Subject: [dpdk-dev] [PATCH] doc: adjust column width of PMD overview tables X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The net PMD overview table is big and required to be shrinked. The crypto PMD tables had variable column sizes: the latest columns were smaller. The minimum width is set to 0.9em without any forced padding. The maximum width is set to 2em. The width of the first column set by sphinx is overriden to 0 for full elasticity. Signed-off-by: Thomas Monjalon Acked-by: John McNamara --- doc/guides/conf.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 39880752e..31f914a89 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -340,7 +340,12 @@ def print_table_css(outfile, table_id): font-size: 80%; white-space: pre-wrap; vertical-align: top; - padding: 2px; + padding: 0.5em 0; + min-width: 0.9em; + width: 2em; + } + table#idx col:first-child { + width: 0; } table#idx th:first-child { vertical-align: bottom;