From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-5.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id 256987D92A for ; Wed, 29 May 2019 23:10:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726311AbfE2XJi (ORCPT ); Wed, 29 May 2019 19:09:38 -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-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@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