From 462d3ab72f293a27def6cae6aac2dab821e9eb80 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Thu, 18 Jan 2007 02:52:20 +0000 Subject: [PATCH] [1.4.0] Add some nicer styling to the configuration documentation. Also update NEWS. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@654 48356398-32a2-884e-a903-53898d9a118a --- NEWS | 2 ++ configdoc/styles/plain.css | 14 ++++++++++++++ configdoc/styles/plain.xsl | 5 +++-- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index b8ae6e24..4a494326 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,8 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier ! Implemented background-image, background-repeat and background-attachment CSS properties. background shorthand property HAS NOT been extended to allow these, and background-position IS NOT implemented yet. +! Configuration documentation looks nicer +! Added smoketest 'all.php', which loads all other smoketests via frames . Implemented AttrDef_CSSURI for url(http://google.com) style declarations 1.3.3, unknown release date, likely to be dropped diff --git a/configdoc/styles/plain.css b/configdoc/styles/plain.css index 15dabea2..a814a97d 100644 --- a/configdoc/styles/plain.css +++ b/configdoc/styles/plain.css @@ -1,3 +1,6 @@ + +body {margin:1em 4em;} + table {border-collapse:collapse;} table td, table th {padding:0.2em;} @@ -8,3 +11,14 @@ table.constraints td pre {margin:0;} #toc {list-style-type:none; font-weight:bold;} #toc ul {list-style-type:disc; font-weight:normal;} + +.description p {margin-top:0;margin-bottom:1em;} + +#library, h1 {text-align:center; font-family:Garamond, serif; + font-variant:small-caps;} +#library {font-size:1em;} +h1 {margin-top:0;} +h2 {border-bottom:1px solid #CCC; font-family:sans-serif; font-weight:normal; + font-size:1.3em;} +h3 {font-family:sans-serif; font-size:1.1em; font-weight:bold; } +h4 {font-family:sans-serif; font-size:0.9em; font-weight:bold; } diff --git a/configdoc/styles/plain.xsl b/configdoc/styles/plain.xsl index 13f57352..cfd5a7ca 100644 --- a/configdoc/styles/plain.xsl +++ b/configdoc/styles/plain.xsl @@ -18,12 +18,13 @@ - <xsl:value-of select="/configdoc/title" /> Configuration Documentation + Configuration Documentation - <xsl:value-of select="/configdoc/title" /> -

Configuration Documentation

+
+

Configuration Documentation

Table of Contents