From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 7DD5945673;
	Sun, 21 Jul 2024 11:54:14 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id C5A8F40DD8;
	Sun, 21 Jul 2024 11:54:05 +0200 (CEST)
Received: from fhigh5-smtp.messagingengine.com
 (fhigh5-smtp.messagingengine.com [103.168.172.156])
 by mails.dpdk.org (Postfix) with ESMTP id B1DE94014F
 for <dev@dpdk.org>; Sun, 21 Jul 2024 11:54:03 +0200 (CEST)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.47])
 by mailfhigh.nyi.internal (Postfix) with ESMTP id 4D6DE11402F7;
 Sun, 21 Jul 2024 05:54:03 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute6.internal (MEProxy); Sun, 21 Jul 2024 05:54:03 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:content-transfer-encoding:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:subject:subject:to:to; s=fm3; t=1721555643; x=
 1721642043; bh=BFz6IQB7+oDRfP382gmbRzCH3MSCTKFXGvP3Hqoycp4=; b=l
 K9h/xRilZW4+0kR7RaxdNyf6cE9ty8YchLfuBXDdAlnkZLp65tdv3WGjhrfuV1Y5
 pcp3OHty9zot5R0ja683iaCHzBzLAae5ZBvklW9uLeyz1X70hIuaalZ0CiyuzMW/
 CiiOtnM2+qDVyPU4qMYCY6mNPIJviAE1IXlOUoVyM1gVYGrk7aWVR6jENpPwgyfE
 42DIHmI+27YkkE7yUG2oTVF7Fr3dH30UcHJ0TkfsaeKfdfKB5Jdj+JAzn8lk1w9m
 VmpfnEJNOJ4Bxjt/OYqFqB+1SvIaJDuY1QxVJPdFhY9+BtfmG2rexNAG8nNXv/0E
 vT8mAJhOvtsUHXHMKXhKQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:date:feedback-id:feedback-id:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:subject
 :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm3; t=1721555643; x=1721642043; bh=BFz6IQB7+oDRf
 P382gmbRzCH3MSCTKFXGvP3Hqoycp4=; b=sYAwLE0MlS+Vadhtu+HARiuXctnzY
 nqKqiA9CIjKOPx5MKi2/JUTez6CNHO+rC/sh9hCULt1amNAwP1/t08tNNZvFHTVO
 QTsLeJjoLSFGRlDAjWPZQ1JnjBJ4ymAYeVporr8sS5PYoMDaPGZt69moclQA9qY/
 mct1AgV/2OoSMJcBDDTbjApYKOLIHir1LCHiH7G/zgkByqYXxHufKNe7Ici5vtSJ
 iqKqCUis2kUr/hZ6SHbT7GHf8UkkriJcOE1Ge8H9lAM0Zx8uAnzsh5jX8o8ekhmz
 rSoAIAPwlIGRFvQ6hz6nc6v0R7xWIMIxzG9SNTmvj/UjrZD0hfbqq1PxA==
X-ME-Sender: <xms:u9qcZnX01erqCUiUriPGKiGU0NdyK6cflZV2PZG_k9Fyyai1Dw5Gjw>
 <xme:u9qcZvlPjFCiTmR-jfzcHb1cXVOvxCioIP-SazpBJGcivstGZDzDDRLvqabs8jPrX
 bFKzuA6sEVG2EaNuw>
X-ME-Received: <xmr:u9qcZjYbhPpLFoymJkA9MbXaaHPLg-JIa37G8oeMzmLwALCSoEsYXNV0kV2490IER4ZO04caeioWHtgrMrGHv-vQXw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrheehgddvvdcutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd
 ertddtnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehm
 ohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepvdehgfeivdejgedtveehfe
 fhteelfefgieevgfffveefjeegtdfguedthedtgeevnecuvehluhhsthgvrhfuihiivgep
 tdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnh
 gvth
X-ME-Proxy: <xmx:u9qcZiWGXYnLnywHVWrmZ1ip6cRVxQ6JtZkshhBesrDtRqf6SjYiPw>
 <xmx:u9qcZhkgt3-eUAMttEG3ddNUijGLlk_bbcKdQ-fCikIRVwd8Hs6FVg>
 <xmx:u9qcZve8wa2CQpeglAv3lO63FEGvpEk_tHmuq1IoxN8tuEDyZPm1Jg>
 <xmx:u9qcZrHwlOPRWC29Jp-ZDowBc-1_HzqlkGqHpDz6m-yg83-5yavdGA>
 <xmx:u9qcZhtRD0XltGV02VmsJqZK1sZV-G3qIDTp_laCjJ-o7t9BAQbtFhxY>
Feedback-ID: i47234305:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for <dev@dpdk.org>; 
 Sun, 21 Jul 2024 05:54:02 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: dev@dpdk.org
Subject: [PATCH 2/2] doc: give full width to NIC overview page
Date: Sun, 21 Jul 2024 11:15:22 +0200
Message-ID: <20240721095351.355639-3-thomas@monjalon.net>
X-Mailer: git-send-email 2.45.0
In-Reply-To: <20240721095351.355639-1-thomas@monjalon.net>
References: <20240721095351.355639-1-thomas@monjalon.net>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

The wide tables in the NIC overview exceed the normal page width
because of the large number of drivers.

A CSS trick is added to allow displaying this page in the full width
of the browser window.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 doc/guides/custom.css        | 8 ++++++++
 doc/guides/nics/overview.rst | 2 ++
 2 files changed, 10 insertions(+)

diff --git a/doc/guides/custom.css b/doc/guides/custom.css
index 221024655c..df1a52f1d4 100644
--- a/doc/guides/custom.css
+++ b/doc/guides/custom.css
@@ -4,6 +4,14 @@
 
 /* Override readthedocs theme */
 
+/* Set full width on a page.
+ * Usage: insert the following line in the doc.
+ *        .. rst-class:: widepage
+ */
+.wy-nav-content:has(.widepage) {
+    max-width: none !important;
+}
+
 /* Spacing before a list item must be bigger than spacing inside the item.
  * Complex list items start with a p.first element. */
 .section li > .first {
diff --git a/doc/guides/nics/overview.rst b/doc/guides/nics/overview.rst
index 67575c699c..4553076481 100644
--- a/doc/guides/nics/overview.rst
+++ b/doc/guides/nics/overview.rst
@@ -24,6 +24,8 @@ Most of these differences are summarized below.
 
 More details about features can be found in :doc:`features`.
 
+.. rst-class:: widepage
+
 .. _table_net_pmd_features:
 
 .. include:: overview_table.txt
-- 
2.45.0