Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1774145ybn; Thu, 26 Sep 2019 01:56:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUaseE7LBdtnPcb25bMFapZ5/IiraThqb2nyiL6avbkltDkE4crK2eSaxGBfCjWIT9NWbG X-Received: by 2002:a50:cc43:: with SMTP id n3mr2374900edi.250.1569488183596; Thu, 26 Sep 2019 01:56:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569488183; cv=none; d=google.com; s=arc-20160816; b=FH1B2GQmQNiNs/Y6ExJAkeJTnUz44DjprPSa/yiWylowBuQofLrxe7hNoLa9eTZike fXgfukRYnYSwMlytrMTPCOfmgO8XtInnP1/pS/PloO6bNNlZHrmmc0/qsZBbtKf2jXLB p/6GfO5rjLTdcIH1Jh6Ud0jCsNnwP2vvRY0jFjW6kcP/eXdelGs8wUbyz2dEAcG/hYG6 T/0W6dAR1W0Mu/y7m38yOfTZLO1aqNHkAryEKzQaU2cqM+eXII+VIzTJ9dgVFK3qJ7Yc IazLZB159Qn4v+mFJakB1sJEr6hmKHj3bQPDehGnqNh1G025p6eUez7h7K76FTUOAH4a R83Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9dYRzKO1g1R4/IX0G1CbX+gjWofgYMvYTRiyo8NBhnk=; b=MVoy+ad1SWJTDD7y/OCIK8UNwo2+KmwBYmc0bwZSs1n1vtWp6rDRrInn4hhD+Usvr8 GduwIAPw/PeC4gp+rQ1h4Kejo1phSBh7V7oEBzJfQT5BXH1vtDWYaU2wD3CSlA7uopbd 8A32BxGqk2o6ISeKHM7i9tuXivI8O3Prt1w29G9NibJJxdoF00wMQWBPvyrYhGSMVeDm XK3Jj8jYliV0HG4sZoSARlzsREwJDGwXDARIomc2vwJprkDQzqxg1GwzgYm2jqlZ3PDd PhzHl7z+ujnhGDkWFxpULp6GMjzENqF1wWJCtg6QhlP/rfwO4SomtLtBvMjoPGIPo3On Xo5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Nyog3bUm; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o2si617785ejm.367.2019.09.26.01.56.00; Thu, 26 Sep 2019 01:56:23 -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=pass header.i=@chromium.org header.s=google header.b=Nyog3bUm; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437783AbfIXVuW (ORCPT + 99 others); Tue, 24 Sep 2019 17:50:22 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:37237 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388257AbfIXVuW (ORCPT ); Tue, 24 Sep 2019 17:50:22 -0400 Received: by mail-pg1-f193.google.com with SMTP id c17so2012128pgg.4 for ; Tue, 24 Sep 2019 14:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=9dYRzKO1g1R4/IX0G1CbX+gjWofgYMvYTRiyo8NBhnk=; b=Nyog3bUmtz7c05l4kKSdtxqM9CIRqGmFQA/+AASIxNDFCjsYjiqoJV6eA/M+6MaTMh Z+jR23roZ/3DU7nA7X6yUxgUjJtOmw5n19LN6ACS8+oSnZvUdcR02tvXlPFV5P327hyA FEM40rreewkNPXqqD2loRpTkZ/sN/efpk6Ji4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=9dYRzKO1g1R4/IX0G1CbX+gjWofgYMvYTRiyo8NBhnk=; b=htTuor9AOsrDFMMzlFH6MQJWMxaVY0/M6r/520RJA7+6/XXWQuYTTe9F+4YO8MaCaT 7aMJ1qxE0ppeUaUflcMAbGn+a7W2kXOuAV/W1NMTGiCkfo97luRJ1lGCODiBUZMQfdBP istRLzNC+eLi5T5USTNWXUO1+aZuym9mC7fguMrgL6Jal1paXbiCVyUjaXkbrzNeBfgR Ckw/CnT1e+nFK8OoP0jcoN4OMKVJvthQFwhrysqAHd3B24JlesfF6Sj/6D4Mce/XH0S1 TeaV+STXqLbFfrmsl+2i2cYivD8hgQfT1zMXO4ScxZesN+wQ5oVn4H4pLRGGJ2qrIo3D dpDw== X-Gm-Message-State: APjAAAUyvpjx8e+jrbPbMY01YmyWzHOkv/wEqUBMvPoPeVvxXq9AGJ+9 Nv0hAvInMwhTXc8aefeBFbTuqg== X-Received: by 2002:a65:66c4:: with SMTP id c4mr5230420pgw.246.1569361821761; Tue, 24 Sep 2019 14:50:21 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id t14sm2600111pgv.84.2019.09.24.14.50.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Sep 2019 14:50:20 -0700 (PDT) Date: Tue, 24 Sep 2019 14:50:19 -0700 From: Kees Cook To: Mauro Carvalho Chehab Cc: Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC][PATCH] docs: Programmatically render MAINTAINERS into ReST Message-ID: <201909241446.3284D27@keescook> References: <201909231534.E8BE691@keescook> <20190924070819.0a7b6658@coco.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190924070819.0a7b6658@coco.lan> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 24, 2019 at 07:08:19AM -0300, Mauro Carvalho Chehab wrote: > It probably makes sense to change some things there, as, right now, it > is considering multiple lines as continuation. So, for example, if > it has multiple M: entries, it will produce this at MAINTAINERS.rst > output: > > > :Mail: > Juergen Gross > Thomas Hellstrom > "VMware, Inc." > > With would be displayed as: > > Mail > Juergen Gross Thomas Hellstrom “VMware, Inc.” > > It would probably be better to output it as: > > :Mail: > - Juergen Gross > - Thomas Hellstrom > - "VMware, Inc." > > or: > :Mail: > Juergen Gross > > Thomas Hellstrom > > "VMware, Inc." > > or, eventually: > > :Mail: > Juergen Gross , > Thomas Hellstrom , > "VMware, Inc." > > (Using commas is probably a bad idea, as DT file names may have a > comma in the middle) Doing explicit lists here made the output, I think, way too long and hard to read. Adding commas for email fields seems like the right solution here. > No need to use "python3" here, as the script has a shebang markup. Just > ensure that it has 755 permission, and call it directly. BTW, I found where I thought python3 was required: sphinx/kernel_include.py's shebang is "#!/usr/bin/env python3" > > +/* Keep fields from being strangely far apart due to inheirited table CSS. */ > > +.rst-content table.field-list th.field-name { > > + padding-top: 1px; > > + padding-bottom: 1px; > > +} > > +.rst-content table.field-list td.field-body { > > + padding-top: 1px; > > + padding-bottom: 1px; > > +} > > + > > @media screen { > > > > /* content column > > I would place this on a separate patch, as this is a layout change that > may affect other files. Noted, yes. > Btw, what does this change? This gets rid of what looks like an extra blank line after every field line. I checked other places where fields are used and they suffer from a similar problem. I'll split this out and call attention to the existing users. -- Kees Cook