[libvirt] [PATCH 3/7] docs: use a div instead of a 3 column table for undisclosed notices

Eric Blake eblake at redhat.com
Tue Jan 29 00:55:10 UTC 2013


On 01/22/2013 07:31 AM, Claudio Bley wrote:
> It's simpler to render and it prevents wrapping the line too early
> because of the table spacing, border et cetera.

Subject line was a bit long; also, on my first read, I misread it as
notices that were not disclosed to the reader (why are we worried about
how to render something the reader won't see?).  Maybe this is better:

docs: use div, not table, for notices on opaque types

> 
> Signed-off-by: Claudio Bley <cbley at av-test.de>
> ---
>  docs/libvirt.css |    1 +
>  docs/newapi.xsl  |  110 +++++++++++++++++++++++++++---------------------------
>  2 files changed, 55 insertions(+), 56 deletions(-)
> 
> diff --git a/docs/libvirt.css b/docs/libvirt.css
> index 5dc5d9b..8a00d12 100644
> --- a/docs/libvirt.css
> +++ b/docs/libvirt.css
> @@ -447,6 +447,7 @@ table.data tbody td.n {
>      letter-spacing: .3ex;
>      font-weight: bolder;
>      text-transform: uppercase;
> +    margin-left: 2em;
>  }

I have no idea how to tell if the css and xsl makes sense as written;
but I was able to apply the patch and view a slight difference in the
current:
http://libvirt.org/html/libvirt-libvirt.html#virConnect

vs. your patched version as I shrunk the width of my window.  I like it,
so ACK.


-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130128/550606ef/attachment-0001.sig>


More information about the libvir-list mailing list