[libvirt] [PATCH 3/2] maint: extend xml quoting style to html docs

Daniel P. Berrange berrange at redhat.com
Tue Dec 6 10:54:10 UTC 2011


On Mon, Dec 05, 2011 at 03:08:55PM -0700, Eric Blake wrote:
> See the previous patch for rationale.  Done with:
> 
> $ find docs -name '*.html.in' | \
>    xargs sed -i '/</ s/\([a-zA-Z0-9_]*=\)"\([^"]*\)"/\1'\''\2'\''/g'
> 
> * cfg.mk (sc_xml_quote_style): Extend the rule.
> * docs/*.html.in: Fix fallout.
> ---
> 
> I'm not as worried about the overall html file being a consistent
> style as I am the html-ized example texts.  The change was intentionally
> limited to lines starting with '<', to minimize the size of the
> diff, even if it did pick up a few changes that aren't user-visible.
> 
>  cfg.mk                               |    4 +
>  docs/csharp.html.in                  |    2 +-
>  docs/drvqemu.html.in                 |    4 +-
>  docs/drvvbox.html.in                 |   12 ++--
>  docs/drvxen.html.in                  |    4 +-
>  docs/formatcaps.html.in              |   18 +++---
>  docs/formatdomain.html.in            |  124 +++++++++++++++++-----------------
>  docs/formatnetwork.html.in           |   74 ++++++++++----------
>  docs/formatstorage.html.in           |   22 +++---
>  docs/formatstorageencryption.html.in |    2 +-
>  docs/news.html.in                    |    2 +-
>  docs/storage.html.in                 |   34 +++++-----
>  12 files changed, 153 insertions(+), 149 deletions(-)

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list