Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4344112pxf; Tue, 30 Mar 2021 05:46:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7/57AoitNU6etmsob5jDfpj88ACCz+0rfvW33+HvxzervO516UsovJfanEwCx+zgA6aOS X-Received: by 2002:a17:906:948d:: with SMTP id t13mr32307164ejx.402.1617108366301; Tue, 30 Mar 2021 05:46:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617108366; cv=none; d=google.com; s=arc-20160816; b=I73pacr4/nTo4IX6fnlktEUfoLKxftB5bl6/ZweY9+jO7cS8isgcBl3r5IXelOL68S 9ZSiLsZTMtx9MamLQ8sjMjWrcZdcJpP/zKQ51sKlJyiulHCmO9zV5DmYpa5s8WcSAQex kvg5Q8Z69iPA5qE9WTZqsFzOT+oJ6Bxyvx0QKedh9leFmlhbmVZ7jUyLBUYUz8qfj5FG C/+UBAh16jhoHf3HeJQcr5dC0AMEMPaT/OFXhlNT02UuDwbPF/owFCSsr2AcmZGG7uCB cEogxuVXLc61JtKL/sfsxMNk5nt8oMvSLyadrNdMLU4MDUDlzJvUIRTDdsaynZKDunvy hPeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=q/X+ZqOYOZI+CJbmzv+0OnZQVzWnJ5KKwTI7n6HmgDE=; b=vLJgURN1HmJngXb1gPTza/Xhb5Awwnu9fdgMx/kDjUeQf5+li6uF3+A2g3q+RbFeOt az3CRkVxMw6x8d7AFp6aP7p8t/+YuCMm5hgEVmCV6VUN3R2E8hX4SYvFILuBIJoK8MNY SUzjE608+o943VU5zx+OtOHAIOoVA1uHf3czPtxYsrvUcoCKsgSBd8NoM2bHS152xFQi iA3cTA424f9KvDE8xlSVall5itQC1ODw+u6Cbl6rd15zD+tHizjCRNQUzqJtm778HS5z kxq9r4NBjOnbyY6SG2MXMzbBAbbBL1Yxwlwb61Po6lOLImj3v8GZmj6fSXGmdMq6QXKF 02Jg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bs23si14926132edb.75.2021.03.30.05.45.43; Tue, 30 Mar 2021 05:46:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231919AbhC3MoS (ORCPT + 99 others); Tue, 30 Mar 2021 08:44:18 -0400 Received: from smtp2-2.goneo.de ([85.220.129.34]:52076 "EHLO smtp2-2.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230303AbhC3Mnv (ORCPT ); Tue, 30 Mar 2021 08:43:51 -0400 Received: from [192.168.1.127] (unknown [85.16.47.255]) by smtp2.goneo.de (Postfix) with ESMTPSA id B700C203843D; Tue, 30 Mar 2021 14:43:45 +0200 (CEST) Subject: Re: [PATCH] kernel-doc: better handle '::' sequences To: Jani Nikula , Matthew Wilcox Cc: Jonathan Corbet , Mauro Carvalho Chehab , Linux Doc Mailing List , Rob Herring , linux-kernel@vger.kernel.org References: <20210325184615.08526aed@coco.lan> <2cf44cf1fa42588632735d4fbc8e84304bdc235f.1616696051.git.mchehab+huawei@kernel.org> <87tuozyslu.fsf@meer.lwn.net> <20210325191435.GZ1719932@casper.infradead.org> <87a6qrx7wf.fsf@meer.lwn.net> <20210325221437.GA1719932@casper.infradead.org> <87wntux3w7.fsf@meer.lwn.net> <20210329144204.GF351017@casper.infradead.org> <874kgtq079.fsf@intel.com> <20210329185843.GK351017@casper.infradead.org> <87tuosoov6.fsf@intel.com> From: Markus Heiser Message-ID: <0ad14d9d-5694-432a-6376-b776a4acebfa@darmarit.de> Date: Tue, 30 Mar 2021 14:43:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <87tuosoov6.fsf@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 30.03.21 um 13:35 schrieb Jani Nikula: >> If the introduction were "/*rST" instead of "/**", would we have >> consensus? It gives us a path to let people intermix kernel-doc and >> hawkmoth comments in the same file, which would be amazing. > If you want to allow two syntaxes for documentation comments (current > kernel-doc and pure reStructuredText with just the comment markers and > indentation removed) I think the natural first step would be to modify > kernel-doc the perl script to support that. It would probably even be > trivial. My 2cent: to tag the markup of the documentation, in python they use a variable named __docformat__ [PEP-258] / e.g.: __docformat__ = "restructuredtext en" [PEP-258] https://www.python.org/dev/peps/pep-0258/#choice-of-docstring-format > Perhaps the bare minimum is running rustdoc first, and generating the > results into Sphinx static pages [1], to make them part of the > whole. Even if the HTML style might be different. Cross referencing will be problematic, I think. -- Markus --