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

Eric Blake eblake at redhat.com
Tue Jan 8 16:41:40 UTC 2013


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

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


More information about the libvir-list mailing list