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 42522A0562 for ; Fri, 2 Apr 2021 01:59:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2D819140FFA; Fri, 2 Apr 2021 01:59:37 +0200 (CEST) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mails.dpdk.org (Postfix) with ESMTP id 2863F40150; Fri, 2 Apr 2021 01:59:35 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id B06DC1183; Thu, 1 Apr 2021 19:59:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 01 Apr 2021 19:59:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm3; bh= KgqLUqMm5QtmkQjz3YpLIkQwNFP/1e9TblMF+nyoOIw=; b=nvoKZNPiM1VwpDbX 7QkrNFr8ZDTpICiJryweJ5hXtC60EGz0kYO40FKNhVtbtvM3driZqtNn8v+2zj7b NuBHOAHfI2DpLKeiHFQ/Z7K4HFt0OsOYWFYAAEh6afZfcjSsetHiO12kgqLYWMHS XNadNC+jXxDdtn19udx4FPCGrLNie6BH2yqX3R5zIIxQI6cwdteTitwo7pNAmFLV b8cY8A2pdWP1BTT/5H6bCJn5rC/+Frtq9jCmfiphNJWbn4H+Vd1NC63i96ODBaiJ +WdcWnUOdtJqJnSKTLcPRqy3n1Cc3lG2c8vztm0RvHWZt0YmhBDhZ3T/MQOC+3fG gm9QRg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=KgqLUqMm5QtmkQjz3YpLIkQwNFP/1e9TblMF+nyoO Iw=; b=f4Q0/fBJ4myWv772H9+t8fbNu+GgLeFwrF/3K0S/stUR/Ql70LaZAfWNj BPF6zYC2FZy4w0nD6jQFA8if+GJqbKri5MqurfAZjklwhdQCfBn2y0kq3j3YaE4A 46UV7/sjtgkshbec+uhvjLHd9px5Hq2tiJFUFVsqNXpDI7BMI0M8lKVVKvQXzBo3 dIpx+4LRdN0Kt+M1U0Asl9BrRakSa39mA85JvG/o6X8GitGYf3w1GUxLCNJaxfKb oNCZDe16SUUYV4WCpt0BOHNfRPftH+2psSd6HPaICbZb7Oahilw+y9fNGLbX9qNj KlsWxjKcWurIOOVQCX5Tkx231ltNg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeihedgvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepgeejfffhhfeghfetveffgeffteelveekhffghfefgedvleeuveet fffgudelvefhnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepjeejrddufe egrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id E90BE240054; Thu, 1 Apr 2021 19:59:31 -0400 (EDT) From: Thomas Monjalon To: David Marchand , Aaron Conole Cc: dev@dpdk.org, stable@dpdk.org, John McNamara Date: Fri, 02 Apr 2021 01:59:29 +0200 Message-ID: <5804841.bASGPeqdAi@thomas> In-Reply-To: References: <20210401195842.13044-1-david.marchand@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH] doc: fix sphinx rtd theme import in GHA X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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" 01/04/2021 22:37, Aaron Conole: > David Marchand writes: > > > If the rtd theme is available, passing it by name is enough to select > > it. Sphinx itself recognises the "sphinx_rtd_theme" name as a special > > case and tries to find its path automatically. > > > > On the other hand, passing a html_theme_path makes sphinx parse all > > themes availables in this path, which in some environment (like GHA) is > > /usr/share and makes sphinx error on the first zipfile it finds (in GHA, > > some Azure CLI thingy) that has no sphinx theme in it. > > > > Fixes: 46562be65094 ("doc: import sphinx rtd theme when available") > > Cc: stable@dpdk.org > > > > Signed-off-by: David Marchand > > --- > > https://github.com/ovsrobot/dpdk/tree/series_16066 > https://github.com/ovsrobot/dpdk/actions/runs/709682570 > > Acked-by: Aaron Conole Applied, thanks for the quick workaround. This patch is removing html_theme_path, not sure in which situation it was useful. Future will tell. >From sphinx doc: " If the theme does not come with Sphinx, it can be in two static forms or as a Python package. For the static forms, either a directory (containing theme.conf and other needed files), or a zip file with the same contents is supported. The directory or zipfile must be put where Sphinx can find it; for this there is the config value html_theme_path. This can be a list of directories, relative to the directory containing conf.py, that can contain theme directories or zip files. "