[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 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

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]