From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id E9C041F487 for ; Mon, 30 Mar 2020 09:45:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728259AbgC3JpO (ORCPT ); Mon, 30 Mar 2020 05:45:14 -0400 Received: from cloud.peff.net ([104.130.231.41]:55362 "HELO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1727376AbgC3JpO (ORCPT ); Mon, 30 Mar 2020 05:45:14 -0400 Received: (qmail 13531 invoked by uid 109); 30 Mar 2020 09:45:14 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with SMTP; Mon, 30 Mar 2020 09:45:14 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 16631 invoked by uid 111); 30 Mar 2020 09:55:17 -0000 Received: from coredump.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Mon, 30 Mar 2020 05:55:17 -0400 Authentication-Results: peff.net; auth=none Date: Mon, 30 Mar 2020 05:45:13 -0400 From: Jeff King To: Martin =?utf-8?B?w4VncmVu?= Cc: git@vger.kernel.org Subject: Re: [PATCH 0/6] Doc: drop support for docbook-xsl before 1.74 Message-ID: <20200330094513.GB1735224@coredump.intra.peff.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Sun, Mar 29, 2020 at 03:18:04PM +0200, Martin Ă…gren wrote: > In the documentation Makefile and a few helper conf and xsl files, we > carry various workarounds to make the docs build at all or to look > better with older docbook-xsl versions. Let's see if we can't just drop > that support. All of this seems to have been useful at one point, but I > doubt that anyone needs this nowadays. This was also suggested in [1]. Yay, I'm very happy to see this series. I'd be happy to go even further if there's some benefit, but I think this removes the last of the Makefile knobs. Thanks for splitting each version bump into its own patch. That made it a lot easier to see what we we're gaining from each one. I double-checked that there's no difference with doc-diff when using a modern asciidoc/docbook combo, though I'm sure you did as well. > After this series, user-manual.conf still refers to older docbook-xsl > versions. The proper fix there might be to actually be a bit more > aggressive and drop that hunk, making the rendered docs prettier. > There's some history there, including mentions of texinfo, which is > outside my comfort zone. I've got work in progress there, but I'd rather > submit that separately from these "expected no-op" patches. Yeah, dropping that bit from user-manual.conf seems reasonable. That shouldn't show anything in doc-diff because it's not installed with the manpages. And the HTML build wouldn't use docbook. I installed the zillion packages needed to build user-manual.pdf. The behavior without that block looks significantly nicer (the example blocks are actually shaded). The very first example block in section 1.1 has some funny indentation, but that's true before or after. Anyway, that was just for my own curiosity. If you've got further work in that area and prefer to do it as a separate series, that's fine by me. -Peff