Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp37497ybi; Wed, 29 May 2019 16:12:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxP/jzo3MN9LVhrGdQc7jZCErFPFq00v/pdWDSr+6igDZuhFvj5a/7Ms1TTkvaIno3w6FJq X-Received: by 2002:a65:60d2:: with SMTP id r18mr582716pgv.217.1559171541315; Wed, 29 May 2019 16:12:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559171541; cv=none; d=google.com; s=arc-20160816; b=Ac5YC/8avMcb8/ovJ42ftkLKzzpw4dSBlw9Nk/yO8Ir1vq+qmcs7Pw7pvTrmzhNUql xIq0v6iSJLgmmArL5FCxPDZh2vnq2hgGg9znoriGsjh02EEFbnd00iMPdeA1Y47iz3L8 q1LEHYTldFbkSD3j7v0YJnu0wscXrhhWeMjQ4tN361Hjbj1Qb9sYvnPIjtFUpjlJq+mq eW5CQcGpbpJOKZMBVIJpJWb/z4b1nzmF1cGgQfCZVtfPtYQ/NW9UFcKDJFA1+SuJRv/h zOz14jt2DLY/6+CkuQkCLt54WZtWnMt54ghGXdJbf7W99tYO6dPW2Z+lPdw+PTzjEYnJ phEg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=UKpsrDHnFfj+bCPyxEExWGka1JPVhaziYLtRF8hHMTk=; b=ajBOhdx87R/O5aYzf95o0w3z63dtJ3D3DohhVN9AMokFIsN6XLVlTpSEuJkN80NBCo Dg+L/g3G/itn3h7ySUlebHx3TAGQhsvok/sPs3aK/lfsk4rVu+td5yMRPqgv3S9lX/KE iO7nY/r7e7NOXPrWOXMIx/w5ducwmIKloSfizAC/DikkSl95Ei0ZsN+myyul/6981DeN 3tX29qFIZvmd/B4c8mxKbz0SbBtf9Vko9kj0oDQP636+RLtYkAkUZMJe/ZLaesbk5q12 Zj4lEE24vQ9ct3mBJk6ABG2VZLt6RnJGiJVH/nfaC4XulM1T1NevPzsf06Jz8vRx09G6 zQMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=VZJV35Uq; 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 m6si956960pjl.60.2019.05.29.16.12.05; Wed, 29 May 2019 16:12:21 -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=VZJV35Uq; 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 S1726874AbfE2XJs (ORCPT + 99 others); Wed, 29 May 2019 19:09:48 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:47628 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726658AbfE2XJh (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: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:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=UKpsrDHnFfj+bCPyxEExWGka1JPVhaziYLtRF8hHMTk=; b=VZJV35UqsfyADWpbRsiobOZJ9 9lRq1hcAH14+Tav9WglGnJX1T503kmQVGIiYxlUXkhIYJOS/HwkHv/h7BEkSauSOgqCIkZF1bwz8Z z3BRxufqK0oUcdRf5j+PYuhljb0usS0yPnj3hZ2A5SUqXi9WRgXe+ou+/UwcDtA1Kw11Hd+XUN4jw tiw0nUc9Ja9TjxuDf9hJJ2Wrlv+BpuWt7p7DfZkfhiRwGpA0YlQhL2NjL0SZapruvehkW6SBdKzh1 CgbuHrARCgYJwYF1yMLJSl6QGYhIIw3dEU7PbJQwRKEbiHUAWHveLEy6bZ5ZK7lRvaauQF1je5ku4 xcRLsxtTA==; 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-0000lJ-GB; Wed, 29 May 2019 23:09:36 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hW7hN-0007TG-GG; Wed, 29 May 2019 20:09:33 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Matthew Wilcox , Federico Vaga , Joel Nider , Mike Rapoport Subject: [PATCH 00/10] Improvements to the documentation build system Date: Wed, 29 May 2019 20:09:22 -0300 Message-Id: X-Mailer: git-send-email 2.21.0 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 Hi Jon, This series contain some improvements for the building system. I sent already several of the patches here. They're rebased on the top of your docs-next tree: patch 1: gets rid of a warning since version 1.8 (I guess it starts appearing with 1.8.6); patches 2 to 4: improve the pre-install script; patches 5 to 8: improve the script with checks broken doc references; patch 9: by default, use "-jauto" with Sphinx 1.7 or upper, in order to speed up the build. patch 10 changes the recommended Sphinx version to 1.7.9. It keeps the minimal supported version to 1.3. Patch 4 contains a good description of the improvements made at the build system. If you prefer, you can pull those patches (and the next series I'm submitting you) from my development git tree: https://git.linuxtv.org/mchehab/experimental.git/log/?h=fix_doc_links_v2 Regards, Mauro - Mauro Carvalho Chehab (10): docs: cdomain.py: get rid of a warning since version 1.8 scripts/sphinx-pre-install: make activate hint smarter scripts/sphinx-pre-install: get rid of RHEL7 explicity check scripts/sphinx-pre-install: always check if version is compatible with build scripts/documentation-file-ref-check: better handle translations scripts/documentation-file-ref-check: exclude false-positives scripts/documentation-file-ref-check: improve tools ref handling scripts/documentation-file-ref-check: teach about .txt -> .yaml renames docs: by default, build docs a lot faster with Sphinx >= 1.7 docs: requirements.txt: recommend Sphinx 1.7.9 Documentation/Makefile | 7 +++ Documentation/doc-guide/sphinx.rst | 17 +++--- Documentation/sphinx/cdomain.py | 5 +- Documentation/sphinx/requirements.txt | 4 +- scripts/documentation-file-ref-check | 44 ++++++++++++---- scripts/sphinx-pre-install | 75 +++++++++++++++------------ 6 files changed, 97 insertions(+), 55 deletions(-) -- 2.21.0