Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp37514ybi; Wed, 29 May 2019 16:12:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHuqTULk0iMgdqqYw/qRZeRdCmMnWdC6N4BkYmaoWB+1ljpbMbyYrovGDMSmhLOLfqpNLQ X-Received: by 2002:a65:64c9:: with SMTP id t9mr589355pgv.221.1559171542216; Wed, 29 May 2019 16:12:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559171542; cv=none; d=google.com; s=arc-20160816; b=O3vUd18vHgqYzS8/4w3zhnH6XtQTVBxkY4LsUmA48Yr6h1/Z+XPKHW+wz/nPbwcLRn 2jEq06aoJ1UeljtObSTxCQ3/sQQdvps8sJce7Vrnijcw0o4T1nPGz+MVTCAmuMehlCJw IlIEspZFIjITXoxOpBlTevfrhx1VzDWxtgN3pq+AOPYKXc7qnxGZMu/GXN/I6oVwqL0R JhGH6XeSWLW42/orsXs8nImEyb0MwuMF9sCh69v1EIiJXR8s3qxEdC9rzN/D9+5E7aPn 8+ratOnnf3Nqz/X4rVLGwt8WWmLFnUgKepy6FCN8nzM3nbCuu+bh0uM76WyZKys5ZYH2 AReg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tS6RAB6sVg+kJ3U+MKfWQpKGE8UFNU5HfgzkbdPGAmk=; b=VSgLsA8PsvynBYKGPPR7zVT1N4TYZo9TVglUEj9kmhRjrhAQVhxtRz8cTvifeZ6Q01 /MESeXZRK7K8q1F9NdAE1+11365aef3lmXTJ1JUNPIvWBxzRzAgiDsb8IxN0zZLlMK5C hWxaGPL90B6sZ80cjP57VNtdkwpTOTTrfSYTIkqEpKXwIRHhef0Q9Y0JqGEQ4IbKdw3T oCgQeN2GKDLtZUEAu5ZBH62DZPlX93j5CfjOG7QXfuJ25JIoyq6hujIQfnWM9Pq16Tle mQHzbm8unfbB6tOyzYhP0p6tLsY5iBAyjUpWIfK4NPue79+MepdIpmlqpr0in8P/1TZG qmLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=DY723L1S; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h96si1167900plb.281.2019.05.29.16.12.07; Wed, 29 May 2019 16:12:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=DY723L1S; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726916AbfE2XKU (ORCPT + 99 others); Wed, 29 May 2019 19:10:20 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:47634 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726673AbfE2XJh (ORCPT ); Wed, 29 May 2019 19:09:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=tS6RAB6sVg+kJ3U+MKfWQpKGE8UFNU5HfgzkbdPGAmk=; b=DY723L1SVURiF1RxxMu67JEPU8 sOnmm/V2LW5VVq0b3tPMBaff70qGg4rmlldRv4Yhzgz+bkNtsgDlu4otE4AjugsLzGQ7PNCRYFJQK /IxM1+xa6Fy18mm2HJgW8BtjMqP/1TPoW7ohhXGifT1jVVa9GuXnzE/+2TXngwxWezlpNxf/rxGeg kEdS+T/15qp08ZAKpQN0gQ7lYyk5VU4GWj6KODkcI41Hftq/70Ki4sKgMWYtWCPCjCiH+q1Y3Y49Y 3xaRkApKqMF4V5uWhEWWmhZ1+RtlEPTS3IfOByzkfGu6Wd7PyWGIcqDeUTlNeXWSu3A6Mlp54GN5w Uc2EbUaA==; Received: from 177.132.232.81.dynamic.adsl.gvt.net.br ([177.132.232.81] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hW7hQ-0000lL-FV; Wed, 29 May 2019 23:09:36 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hW7hN-0007Tt-Oy; Wed, 29 May 2019 20:09:33 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Federico Vaga , Mike Rapoport , Matthew Wilcox , Joel Nider Subject: [PATCH 10/10] docs: requirements.txt: recommend Sphinx 1.7.9 Date: Wed, 29 May 2019 20:09:32 -0300 Message-Id: <08e7f5227b4e79d37e0e9afe7fba7cbc8476e4a2.1559170790.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As discussed at the linux-doc ML, while we'll still support version 1.3, it is time to recommend a more modern version. So, let's switch the minimal requirements to Sphinx 1.7.9, as it has the "-jauto" flag, with makes a lot faster when building documentation. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 17 ++++++++--------- Documentation/sphinx/requirements.txt | 4 ++-- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/Documentation/doc-guide/sphinx.rst b/Documentation/doc-guide/sphinx.rst index c039224b404e..4ba081f43e98 100644 --- a/Documentation/doc-guide/sphinx.rst +++ b/Documentation/doc-guide/sphinx.rst @@ -27,8 +27,7 @@ Sphinx Install ============== The ReST markups currently used by the Documentation/ files are meant to be -built with ``Sphinx`` version 1.3 or higher. If you desire to build -PDF output, it is recommended to use version 1.4.6 or higher. +built with ``Sphinx`` version 1.3 or higher. There's a script that checks for the Sphinx requirements. Please see :ref:`sphinx-pre-install` for further details. @@ -56,13 +55,13 @@ or ``virtualenv``, depending on how your distribution packaged Python 3. those expressions are written using LaTeX notation. It needs texlive installed with amdfonts and amsmath in order to evaluate them. -In summary, if you want to install Sphinx version 1.4.9, you should do:: +In summary, if you want to install Sphinx version 1.7.9, you should do:: - $ virtualenv sphinx_1.4 - $ . sphinx_1.4/bin/activate - (sphinx_1.4) $ pip install -r Documentation/sphinx/requirements.txt + $ virtualenv sphinx_1.7.9 + $ . sphinx_1.7.9/bin/activate + (sphinx_1.7.9) $ pip install -r Documentation/sphinx/requirements.txt -After running ``. sphinx_1.4/bin/activate``, the prompt will change, +After running ``. sphinx_1.7.9/bin/activate``, the prompt will change, in order to indicate that you're using the new environment. If you open a new shell, you need to rerun this command to enter again at the virtual environment before building the documentation. @@ -105,8 +104,8 @@ command line options for your distro:: You should run: sudo dnf install -y texlive-luatex85 - /usr/bin/virtualenv sphinx_1.4 - . sphinx_1.4/bin/activate + /usr/bin/virtualenv sphinx_1.7.9 + . sphinx_1.7.9/bin/activate pip install -r Documentation/sphinx/requirements.txt Can't build as 1 mandatory dependency is missing at ./scripts/sphinx-pre-install line 468. diff --git a/Documentation/sphinx/requirements.txt b/Documentation/sphinx/requirements.txt index 742be3e12619..14e29a0ae480 100644 --- a/Documentation/sphinx/requirements.txt +++ b/Documentation/sphinx/requirements.txt @@ -1,3 +1,3 @@ -docutils==0.12 -Sphinx==1.4.9 +docutils +Sphinx==1.7.9 sphinx_rtd_theme -- 2.21.0