FYI: Example [Re: [PATCH] scripts/kernel-doc: added support forhtml5]

From: Dan Luedtke
Date: Wed Jul 25 2012 - 09:50:37 EST


On Wed, 2012-07-25 at 15:38 +0200, Dan Luedtke wrote:
> New output option html5 writes validating HTML5 and adds
> CSS classes ready to be selected by third-party stylesheets.

An example, generated with the patched version of kernel-doc:

https://www.nonattached.net/lanyfs/doc-linux.php

Uses CSS like this:

article.doc,
article.enum,
article.typedef,
article.struct,
article.function {
margin-bottom: 50px;
}
/* markup */
span.keyword {
font-weight: bold;
color: #000;
}
span.type {
font-weight: normal;
color: #284689;
}
span.identifier {
font-weight: bold;
color: #c43;
}

--
Dan Luedtke
http://www.danrl.de

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/