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

Re: [libvirt] [PATCH 1/2] docs: break longer text into paragraphs in HTML



On 01/08/2013 08:19 AM, Claudio Bley wrote:
> Libvirt's HTML documentation is not as easy to the eyes as it could
> be since long text has no visual breaks.
> 
> Take advantage of the formatting in documentation comments and wrap
> each part separated by two consecutive \n into a HTML <p> element.

Yay - I've been wanting that, but not knowing how to get it!

> 
> Signed-off-by: Claudio Bley <cbley av-test de>
> ---
>  docs/newapi.xsl |   50 +++++++++++++++++++++++++++++++++++++++++---------
>  1 file changed, 41 insertions(+), 9 deletions(-)

I'm no .xsl expert, but what I _did_ do was check the resulting .html
files in my browser, and they do indeed look much nicer.  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]