From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 51648A0C4B; Mon, 10 May 2021 22:48:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D73B640140; Mon, 10 May 2021 22:48:17 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id AB6354003E for ; Mon, 10 May 2021 22:48:16 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 2BE8F5C00E7; Mon, 10 May 2021 16:48:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 10 May 2021 16:48:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=6tWc7VwhBjq/gxXNDjoGyjr4Xd ii7UuBUsTpFOOhuuA=; b=0zdhgScO02z/VBifMiIdi6uRGr8SKZObAY0kclFQgw rxb/tQL2nlaGA8gvFo2zR8u1hcksu0ig8CiQzpq9LGFNlbnbaHTuz7Kq1ZW8PEuA sb+hgr0/nTzco7x9uGI4mVoy5uyJQKX7roqbZwcU1Y1UDdt7QVvZ7blrnuCVEyEl pFOWjpZhSDDBhhUTdnT2eN7GKZw5fGmiYxTcx3SEEZ4pvBGKZOqbVGrsqWqIb9Ww /Tev10+LUR8OzXV7Ws+lFAnldV9v+3WLTbM/6VyiDrythOaLsfEbIc5WVWwrjG6E ha13nj6tVd+BoeAs1WY/qtulUOdU6UeCRc0KQ6RBBNIA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=6tWc7VwhBjq/gxXND joGyjr4Xdii7UuBUsTpFOOhuuA=; b=CVPexmGLFlwWUSgAsDLRPfs3b3xxTvD7q KH6l0GxhrcrGbMxanT1ALIhxJSj3hZZ4Rt+Q7RyigMQlaaSYx9kGWUP+nuwddmls w8zUrfK+9y8iDU/fZxx89/+SG73nt2wwxZZpLIa+gAOgGQAt5GUMGx96lwpg6Y3e ftWUrWX7xbOXNQtqNKRWrcNOpQvrg1sPXtbX64Qwwc6zbgBs977z4pUMVuaDnKp9 TLUH59qI4j6aDO6z4q/1QKJN4IOh891jHiahC13egYObxsPXjnz88DtMNU2d3/UE McUvO6SH9scPNTcqbH+N7wAgMt66dgWrZbxUx/IcgSYnkstCRwUPg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdegkedgudehgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehm ohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepvdelvdduhedvudduveeuvd evheegudelgeeigfejheduhedttdegudffjeeihffgnecukfhppeejjedrudefgedrvddt fedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 10 May 2021 16:48:13 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Date: Mon, 10 May 2021 22:48:07 +0200 Message-Id: <20210510204807.289670-1-thomas@monjalon.net> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] doc: fix build with Sphinx 4 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Sphinx 4.0 became stricter with permalink configuration: " html_add_permalinks has been deprecated since v3.5.0. Please use html_permalinks and html_permalinks_icon instead. " The new variable is used while keeping compatibility with older Sphinx versions. Signed-off-by: Thomas Monjalon --- doc/guides/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index ec59aeae7e..c22caaa247 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -31,7 +31,10 @@ project = 'Data Plane Development Kit' html_logo = '../logo/DPDK_logo_vertical_rev_small.png' latex_logo = '../logo/DPDK_logo_horizontal_tag.png' -html_add_permalinks = "" +if LooseVersion(sphinx_version) >= LooseVersion('3.5'): + html_permalinks = False +else: + html_add_permalinks = "" html_show_copyright = False highlight_language = 'none' -- 2.31.1