Received: by 10.213.65.68 with SMTP id h4csp449314imn; Fri, 6 Apr 2018 03:11:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+FfSW43yZHQB4c9XLqIwWfS7ncZBAzuJWFnKFOkoztKZTJsyt/Sh3tC29tZxjpDcfJL078 X-Received: by 10.99.110.129 with SMTP id j123mr17013932pgc.65.1523009507813; Fri, 06 Apr 2018 03:11:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523009507; cv=none; d=google.com; s=arc-20160816; b=GwzK46n9Jce8tTiRNQJ8MvAD2WcAiNj1UUZM9xJViGQSlEeeWjZ47JI8QvIPGc832v zuZzDzJmTxtI75Ue82bw4r/eXNWaob0qRXt5zvXRADvCLMR4GRzXUZxyiIhc8WB6qolU oVdQE/YPl52yEysPGE3JL4FE5zi3+qPDppkdUNH7fEvDEoslGv+GhsYksBDwCwCLjl8m O5uKE5+glQVUEdjaKKI/Sv3ENFCkA002NiyiwypYZ9pzSA2J8QtIRUSiLpxs7kuDo3Tk JGYCwJr79C3mxy+1sbC4p3kZSt7nGS3Gq3XL4jNwWfeAQNEJdeuIAxxkqXT28jz7L1ln K1Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:arc-authentication-results; bh=QYqb2S8IzdlVKMHfMnkR+fa4F0eBxAsBoQDl1TC2AyU=; b=tIcxWGDi1DXGNlFr/P9KH7HQxGAd4mHkQAjcLl+aaWBR52geGnVtNFCAjkC2X3brQh AgX6Bv/6uzT42MBWPuRoA3+zmbSL9mZcQL/ztQQTZR3xO0ta/67ZWA+2oQpNsldJ8lHE 50Ew6sqDEW661C9+1MICVRSliFqBcIWMs5AxOs0c9Ma2BaeiO/t7ijhEzwSCIrUzGeY9 E+UZNmmyPVIDjKYAKGijwise43ac4oyId8o6HLeXbbG7PAjy2yTuo++GlsYrv+Wu0JTv 5s7ZSyBL6FyfrteqyCLeWpDcucVbVERUg/lBKZnZePKc5u284YfpqTOqXzWzIvZlenNR 8H2g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1-v6si8127537plk.577.2018.04.06.03.11.34; Fri, 06 Apr 2018 03:11:47 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752148AbeDFKKU convert rfc822-to-8bit (ORCPT + 99 others); Fri, 6 Apr 2018 06:10:20 -0400 Received: from smtp3-1.goneo.de ([85.220.129.38]:59836 "EHLO smtp3-1.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751802AbeDFKKS (ORCPT ); Fri, 6 Apr 2018 06:10:18 -0400 X-Greylist: delayed 378 seconds by postgrey-1.27 at vger.kernel.org; Fri, 06 Apr 2018 06:10:17 EDT Received: from localhost (localhost [127.0.0.1]) by smtp3.goneo.de (Postfix) with ESMTP id 1A36423FA10; Fri, 6 Apr 2018 12:03:58 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -2.793 X-Spam-Level: X-Spam-Status: No, score=-2.793 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=0.107, BAYES_00=-1.9] autolearn=ham Received: from smtp3.goneo.de ([127.0.0.1]) by localhost (smtp3.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3IUgRl9lhhAW; Fri, 6 Apr 2018 12:03:56 +0200 (CEST) Received: from [192.168.1.112] (dyndsl-091-248-139-043.ewe-ip-backbone.de [91.248.139.43]) by smtp3.goneo.de (Postfix) with ESMTPSA id D419823FA6C; Fri, 6 Apr 2018 12:03:55 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: make xmldocs failed with error after 4.17 merge period From: Markus Heiser In-Reply-To: <20180406091126.GC21589@kuha.fi.intel.com> Date: Fri, 6 Apr 2018 12:03:55 +0200 Cc: Greg KH , Masanari Iida , linux-kernel@vger.kernel.org, Linux Doc Mailing List , Jonathan Corbet , linux-usb@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <2A917B38-AFF6-44DC-A4A9-796B2BE560E2@darmarit.de> References: <20180406075109.GA21589@kuha.fi.intel.com> <20180406075734.GA16728@kroah.com> <20180406081555.GB21589@kuha.fi.intel.com> <20180406083010.GA20174@kroah.com> <20180406091126.GC21589@kuha.fi.intel.com> To: Heikki Krogerus X-Mailer: Apple Mail (2.3273) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Am 06.04.2018 um 11:11 schrieb Heikki Krogerus : [...] >>>>>> An ascii graphic in typec.rst cause the error. >>>>> >>>>> Thanks for the report. I'm going to propose that we fix this by >>>>> marking the ascii art as comment: >>>>> >>>>> diff --git a/Documentation/driver-api/usb/typec.rst b/Documentation/driver-api/usb/typec.rst >>>>> index feb31946490b..972c11bf4141 100644 >>>>> --- a/Documentation/driver-api/usb/typec.rst >>>>> +++ b/Documentation/driver-api/usb/typec.rst >>>>> @@ -212,7 +212,7 @@ port drivers can use USB Role Class API with those. >>>>> >>>>> Illustration of the muxes behind a connector that supports an alternate mode: >>>>> >>>>> - ------------------------ >>>>> +.. ------------------------ >>>>> | Connector | >>>>> ------------------------ >>>>> | | >>>>> >>>>> I hope that works. >>>> >>>> Try it and see! :) >>> >>> It will fix this issue. I was just wondering if use of ascii art is >>> acceptable in general with the .rst files? But then again, why >>> wouldn't it be. [...] > I was propsed to use something called "Literal Block" with ascii art. > http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#literal-blocks about *ASCII-art*: see fix from Jani ... https://www.mail-archive.com/linux-doc@vger.kernel.org/msg19302.html where the '::' is a short-markup for a literal-block. >> There are ways to do this, look at how the v4l2 and I think the drm >> subsystems handle ascii art such that "real" drawings end up being >> produced. > > Thanks. I did not actually find anything else except use of tables and > code-blocks in v4l documentation. Is that what you were referring? If it is about *figures*: we have a directive named 'kernel-figure', which is a full replacement of the 'figure' directive from Sphinx-Doc. In addition it supports *inline* SVG and DOT markups. Read: https://www.kernel.org/doc/html/latest/doc-guide/sphinx.html#figures-images -- Markus --