[OpenStack-docs] RST only directive, conditionals

Andreas Jaeger aj at suse.com
Tue Jul 7 14:12:52 UTC 2015


On 07/07/2015 02:59 PM, Karen Bradshaw wrote:
> Hi.  I am trying to sort out the RST only directive with multiple tags.
> Using the only directive with a single tag or 'not <tag>' is generating
> the correct docs.  I thought 'and' would work as well as,
> something like, (ubuntu and rdo).  Perhaps I need to use ifconfig instead.
> Any ideas?


I think you want "ubuntu or rdo" - and that works with only.

Just tested:

.. only:: obs or ubuntu

    Just some test.

If not, please send a change for review and let me debug it;)

Andreas
-- 
  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
   SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
    GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton,
        HRB 21284 (AG Nürnberg)
     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126




More information about the OpenStack-docs mailing list