[website] 01/01: Use policy specific stylesheet.

Bas Couwenberg sebastic at xs4all.nl
Sat Feb 15 15:17:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch master
in repository website.

commit a8680c6c78957b8891bf13180023a3160e57eff7
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Feb 15 16:17:34 2014 +0100

    Use policy specific stylesheet.
---
 .gitignore | 1 +
 .htaccess  | 2 ++
 Makefile   | 4 +++-
 policy.css | 9 +++++++++
 4 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index eee36f6..17062ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
+docbook.css
 policy.html
diff --git a/.htaccess b/.htaccess
index 11bb4e2..efd4725 100644
--- a/.htaccess
+++ b/.htaccess
@@ -5,6 +5,8 @@ ReadmeName readme.txt
 IndexIgnore HEADER.html readme.txt *.css *.png *.ico img
 
 AddDescription "The DebianGis Manifesto -- first announcement of the DebianGis Project" announcement.txt
+AddDescription "Debian GIS Policy - DocBook Stylesheet" docbook.css
+AddDescription "Debian GIS Policy - Custom Stylesheet" policy.css
 AddDescription "Debian GIS Policy - HTML version" policy.html
 AddDescription "Debian GIS Policy - DocBook XML source" policy.xml
 AddDescription "Debian GIS Policy - Build script" Makefile
diff --git a/Makefile b/Makefile
index 6b5081b..538e77e 100644
--- a/Makefile
+++ b/Makefile
@@ -6,12 +6,14 @@ all: policy
 policy: valid
 	xsltproc \
 		--param toc.section.depth 5 \
+		--param make.valid.html 1 \
+		--stringparam html.stylesheet policy.css \
 		--output policy.html \
 		/usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml/docbook.xsl \
 		policy.xml 2>/dev/null
 
 clean:
-	rm -f policy.html
+	rm -f policy.css policy.html
 
 valid:
 	xmllint --valid --noout policy.xml
diff --git a/policy.css b/policy.css
new file mode 100644
index 0000000..7f772eb
--- /dev/null
+++ b/policy.css
@@ -0,0 +1,9 @@
+
+.programlisting {
+	border-width:		1px;
+	border-style:		dotted;
+	background-color:	#000000;
+	color:			#FFFFFF;
+	padding:		10px;
+}
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/website.git



More information about the Pkg-grass-devel mailing list