All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/4] doc: kerneldoc: Add nicer CSS stylesheet for HTML docs
Date: Sun, 30 Sep 2012 02:21:33 +0200	[thread overview]
Message-ID: <1348964495-12606-3-git-send-email-marex@denx.de> (raw)
In-Reply-To: <1348964495-12606-1-git-send-email-marex@denx.de>

Import basic CSS stylesheet for the HTML documentation. The base for
the stylesheet is taken from:

	http://ds9a.nl/docbook/minimal-page.html

I customized the CSS a bit further, for example to add curvy corners
to example section and change the tint of gray. The HTML documentation
does not look that crude anymore.

Signed-off-by: Marek Vasut <marex@denx.de>
---
 doc/DocBook/docbook.css    |   16 ++++++++++++++++
 doc/DocBook/stylesheet.xsl |    1 +
 2 files changed, 17 insertions(+)
 create mode 100644 doc/DocBook/docbook.css

diff --git a/doc/DocBook/docbook.css b/doc/DocBook/docbook.css
new file mode 100644
index 0000000..7a79ec5
--- /dev/null
+++ b/doc/DocBook/docbook.css
@@ -0,0 +1,16 @@
+body {
+	font-family:		sans-serif;
+}
+
+.programlisting {
+	font-family:		monospace;
+	font-size:		1em;
+	display:		block;
+	padding:		10px;
+	border:			1px solid #aaa;
+	color:			#000;
+	background-color:	#eee;
+	overflow:		auto;
+	margin:			1em 0em;
+	border-radius:		6px;
+}
diff --git a/doc/DocBook/stylesheet.xsl b/doc/DocBook/stylesheet.xsl
index 85b2527..8adce56 100644
--- a/doc/DocBook/stylesheet.xsl
+++ b/doc/DocBook/stylesheet.xsl
@@ -7,4 +7,5 @@
 <!-- <param name="paper.type">A4</param> -->
 <param name="generate.section.toc.level">2</param>
 <param name="use.id.as.filename">1</param>
+<param name="html.stylesheet">../docbook.css</param>
 </stylesheet>
-- 
1.7.10.4

  parent reply	other threads:[~2012-09-30  0:21 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-29  1:33 [U-Boot] [PATCH 0/4] Implant kernel-doc from Linux kernel Marek Vasut
2012-09-29  1:33 ` [U-Boot] [PATCH 1/4] doc: kerneldoc: Implant DocBook " Marek Vasut
2012-09-29  2:43   ` [U-Boot] [PATCH 1/4 V2] " Marek Vasut
2012-10-04 10:07     ` Albert ARIBAUD
2012-10-05  0:28       ` Marek Vasut
2012-10-05  0:35         ` Graeme Russ
2012-10-05  0:45           ` Marek Vasut
2012-10-05 18:55         ` Albert ARIBAUD
2012-10-06 23:06       ` Marek Vasut
2012-09-29  1:33 ` [U-Boot] [PATCH 2/4] doc: kerneldoc: Add nicer CSS stylesheet for HTML docs Marek Vasut
2012-09-29  1:33 ` [U-Boot] [PATCH 3/4] doc: kerneldoc: Implement "Example" section handling Marek Vasut
2012-09-29  1:33 ` [U-Boot] [PATCH 4/4] doc: kerneldoc: tmpl: Implement template for LG-arrays Marek Vasut
2012-09-30  0:21 ` [U-Boot] [PATCH 0/4 V2] Implant kernel-doc from Linux kernel Marek Vasut
2012-09-30  0:21   ` [U-Boot] [PATCH 1/4] doc: kerneldoc: Implant DocBook " Marek Vasut
2012-09-30  0:21   ` Marek Vasut [this message]
2012-09-30  0:21   ` [U-Boot] [PATCH 3/4] doc: kerneldoc: Implement "Example" section handling Marek Vasut
2012-09-30  0:21   ` [U-Boot] [PATCH 4/4] doc: kerneldoc: tmpl: Implement template for LG-arrays Marek Vasut
2012-10-02 18:28   ` [U-Boot] [PATCH 0/4 V2] Implant kernel-doc from Linux kernel Tom Rini
2012-10-06 23:26     ` Marek Vasut
2012-10-08 15:38       ` Tom Rini
2012-10-08 15:54         ` Marek Vasut
2012-10-09 22:35   ` Tom Rini
2012-10-09 22:37     ` Marek Vasut
2012-10-09 22:51       ` Tom Rini
2012-10-07  0:04 ` [U-Boot] [PATCH 1/4 V3] kerneldoc: Implant DocBook " Marek Vasut
2012-10-07  0:04   ` [U-Boot] [PATCH 2/4 V3] kerneldoc: Add nicer CSS stylesheet for HTML docs Marek Vasut
2012-10-07  0:05   ` [U-Boot] [PATCH 3/4 V3] kerneldoc: Implement "Example" section handling Marek Vasut
2012-10-07  0:05   ` [U-Boot] [PATCH 4/4 V3] kerneldoc: Add myself to the git-mailrc for kerneldoc Marek Vasut
2012-10-22 21:29   ` [U-Boot] [PATCH 1/4 V3] kerneldoc: Implant DocBook from Linux kernel Andy Fleming
2012-10-23  7:30     ` Marek Vasut
2012-10-23 19:56       ` Andy Fleming
2012-10-23 20:58         ` Tom Rini
2012-10-23 21:03           ` Andy Fleming
2012-10-25 18:50             ` Tom Rini
2012-10-25 19:04               ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1348964495-12606-3-git-send-email-marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.