[Openstack-docs] validate.py - images?

Andreas Jaeger aj at suse.com
Wed Sep 11 07:52:51 UTC 2013


On 09/11/2013 09:22 AM, Christian Berendt wrote:
> On 09/11/2013 09:16 AM, Andreas Jaeger wrote:
>> Christian, can't we remove the "href.endswith('.xml')" condition completely?
> 
> That will not change the behaviour. At the moment we scan all XML files
> for "//xi:include" and if the href attribute contains a modified file
> the book is marked as modified and will be built.
> 
> To also build a book if a used graphic is modified we have to extend the
> scan of all XML files.
> 
> Is imagedata the only element used to include images?

A grep shows that imagedata is the only one to include images.

Are there any other elements that include files that we should check?

Andreas
-- 
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126



More information about the Openstack-docs mailing list