From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751892AbeAPKVl (ORCPT + 1 other); Tue, 16 Jan 2018 05:21:41 -0500 Received: from mga06.intel.com ([134.134.136.31]:3436 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751744AbeAPKVj (ORCPT ); Tue, 16 Jan 2018 05:21:39 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,367,1511856000"; d="scan'208";a="22701417" From: Jani Nikula To: "Tobin C. Harding" , Jonathan Corbet Cc: "Paul E. McKenney" , Josh Triplett , Linux docs , LKML Subject: Re: [RFC] doc: fix code snippet build warnings In-Reply-To: <20180110222531.GA23786@eros> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <1515557093-7036-1-git-send-email-me@tobin.cc> <20180110145958.5b183308@lwn.net> <20180110222531.GA23786@eros> Date: Tue, 16 Jan 2018 12:26:27 +0200 Message-ID: <87d12a2j70.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Thu, 11 Jan 2018, "Tobin C. Harding" wrote: > On Wed, Jan 10, 2018 at 02:59:58PM -0700, Jonathan Corbet wrote: >> ...rather than adding a separate "::" line, you can just >> s/follows:/follows::/ and the Right Thing will happen (to the same extent >> that it does now, anyway. > > Except that it will render as > > kill_dependency(). It could be used as follows > > instead of > kill_dependency(). It could be used as follows: > > (note: final colon) Quoting [1], "The :: may be tacked onto the very end of any paragraph. The :: will be omitted if it is preceded by whitespace. The :: will be converted to a single colon if preceded by text" BR, Jani. [1] http://docutils.sourceforge.net/docs/user/rst/quickref.html#literal-blocks -- Jani Nikula, Intel Open Source Technology Center