[OpenStack-docs] OpenStack-docs Digest, Vol 37, Issue 45

Karen Bradshaw kbhawkey at gmail.com
Mon Jul 27 14:01:56 UTC 2015


Hi, Christian.
Try to *not* use auto numbering with .. only:: directives.
-Karen

On Mon, Jul 27, 2015 at 8:00 AM, <openstack-docs-request at lists.openstack.org
> wrote:

> Send OpenStack-docs mailing list submissions to
>         openstack-docs at lists.openstack.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs
> or, via email, send a message with subject or body 'help' to
>         openstack-docs-request at lists.openstack.org
>
> You can reach the person managing the list at
>         openstack-docs-owner at lists.openstack.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of OpenStack-docs digest..."
>
> Today's Topics:
>
>    1. list numbering in RST documents when using ..     only::
>       (Christian Berendt)
>    2. Re: list numbering in RST documents when using .. only::
>       (Christian Berendt)
>    3. move of www-generator.py to openstack-doc-tools
>       (Christian Berendt)
>
>
> ---------- Forwarded message ----------
> From: Christian Berendt <christian at berendt.io>
> To: "openstack-docs at lists.openstack.org" <
> Openstack-docs at lists.openstack.org>
> Cc:
> Date: Mon, 27 Jul 2015 13:29:17 +0200
> Subject: [OpenStack-docs] list numbering in RST documents when using ..
> only::
> I converted the Swift part of the installation guide and at the moment I
> am not sure how to work with the numbered lists when using .. only::.
>
> When using #. inside a .. only:: block it looks like the numbere will be
> reset.
>
> How to get a correct numbering for the following example:
>
> #. foo
>
> .. only:: ubuntu or debian
>
>    #. bar
>
> .. only:: ubuntu or rdo or debian
>
>    #. foobar
>
> #. barfoo
>
> Expected result for ubuntu/debian:
>
> 1. foo
> 2. bar
> 3. foobar
> 4. barfoo
>
> Expected result for rdo:
>
> 1. foo
> 2. foobar
> 3. barfoo
>
> Expected result for obs:
>
> 1. foo
> 2. barfoo
>
> Christian.
>
>
>
>
> ---------- Forwarded message ----------
> From: Christian Berendt <christian at berendt.io>
> To: "openstack-docs at lists.openstack.org" <
> Openstack-docs at lists.openstack.org>
> Cc:
> Date: Mon, 27 Jul 2015 13:31:53 +0200
> Subject: Re: [OpenStack-docs] list numbering in RST documents when using
> .. only::
> I forgot to write down the current result.
>
> On 07/27/2015 01:29 PM, Christian Berendt wrote:
>
>> Expected result for ubuntu/debian:
>>
>> 1. foo
>> 2. bar
>> 3. foobar
>> 4. barfoo
>>
>
> 1. foo
> 1. bar
> 1. foobar
> 1. barfoo
>
>  Expected result for rdo:
>>
>> 1. foo
>> 2. foobar
>> 3. barfoo
>>
>
> 1. foo
> 1. foobar
> 1. barfoo
>
>  Expected result for obs:
>>
>> 1. foo
>> 2. barfoo
>>
>
> 1. foo
> 1. barfoo
>
> --
> Christian Berendt
> Cloud Solution Architect
> Mail: berendt at b1-systems.de
>
> B1 Systems GmbH
> Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
> GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
>
>
>
>
> ---------- Forwarded message ----------
> From: Christian Berendt <christian at berendt.io>
> To: "openstack-docs at lists.openstack.org" <
> Openstack-docs at lists.openstack.org>
> Cc:
> Date: Mon, 27 Jul 2015 13:48:42 +0200
> Subject: [OpenStack-docs] move of www-generator.py to openstack-doc-tools
> Does it makes sense to move www-generator.py to openstack-doc-tools?
>
> Christian.
>
>
>
> _______________________________________________
> OpenStack-docs mailing list
> OpenStack-docs at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-docs/attachments/20150727/2fd60bc5/attachment.html>


More information about the OpenStack-docs mailing list