|
|
Log in / Subscribe / Register

Improvements to the documentation build system

From:  Mauro Carvalho Chehab <mchehab+samsung-AT-kernel.org>
To:  Linux Doc Mailing List <linux-doc-AT-vger.kernel.org>, Jonathan Corbet <corbet-AT-lwn.net>
Subject:  [PATCH 00/10] Improvements to the documentation build system
Date:  Wed, 29 May 2019 20:09:22 -0300
Message-ID:  <cover.1559170790.git.mchehab+samsung@kernel.org>
Cc:  Mauro Carvalho Chehab <mchehab+samsung-AT-kernel.org>, Mauro Carvalho Chehab <mchehab-AT-infradead.org>, linux-kernel-AT-vger.kernel.org, Matthew Wilcox <willy-AT-infradead.org>, Federico Vaga <federico.vaga-AT-vaga.pv.it>, Joel Nider <joeln-AT-il.ibm.com>, Mike Rapoport <rppt-AT-linux.ibm.com>
Archive-link:  Article

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=f...

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




Copyright © 2019, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds