From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752455AbcGASZU (ORCPT ); Fri, 1 Jul 2016 14:25:20 -0400 Received: from lists.s-osg.org ([54.187.51.154]:51632 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752096AbcGASZT (ORCPT ); Fri, 1 Jul 2016 14:25:19 -0400 Date: Fri, 1 Jul 2016 15:25:12 -0300 From: Mauro Carvalho Chehab To: Markus Heiser , jani.nikula@intel.com Cc: corbet@lwn.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, hverkuil@xs4all.nl, daniel.vetter@ffwll.ch, airlied@gmail.com, grant.likely@secretlab.ca, rdunlap@infradead.org, keithp@keithp.com Subject: Captions numbering support Message-ID: <20160701152512.41147ac8@recife.lan> In-Reply-To: <1467288022-10496-1-git-send-email-markus.heiser@darmarIT.de> References: <1467288022-10496-1-git-send-email-markus.heiser@darmarIT.de> Organization: Samsung X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Markus/Jani, I'm starting this as a new thread, as it is not directly related to the other subjects. I'm fixing right now the captions that got missed during the docbook conversion. See for example: https://git.linuxtv.org/mchehab/experimental.git/commit/?h=docs-next&id=69f9771c659958ecc7c8ba26e85c2f61f821b022 https://git.linuxtv.org/mchehab/experimental.git/commit/?h=docs-next&id=56bd374200a15e8888d94fd8410eea916bffea87 As I mentioned before, I'm needing to re-numerate by hand the examples. I'm wandering if are there any way with Sphinx to use the section numbering. If so, then we could number the examples as: 1.4 section title ... 1.4.1 Example foo 1.4.2 Example bar ... 1.6 section title 2 ... 1.6.1 Exampel foobar With would make a way easier to keep handling it, while we don't have ":numbered:" support for the code-block. Do you know if are there anything like that in Sphinx? Regards, Mauro