[website] 08/08: Use chunk.xsl for multi-page HTML.

Bas Couwenberg sebastic at xs4all.nl
Sat Feb 22 03:26:22 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 8b55cecfce6db22c09285135cb910a404f4ba025
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Feb 22 02:40:10 2014 +0100

    Use chunk.xsl for multi-page HTML.
---
 .gitignore                      |   1 +
 Makefile                        |  11 ++--
 policy.xml                      | 108 ++++++++++++++++++++--------------------
 policy.css => policy/policy.css |   0
 4 files changed, 62 insertions(+), 58 deletions(-)

diff --git a/.gitignore b/.gitignore
index 17062ba..7488419 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 docbook.css
 policy.html
+policy/*.html
diff --git a/Makefile b/Makefile
index 8a7f8f2..6f28daa 100644
--- a/Makefile
+++ b/Makefile
@@ -5,15 +5,18 @@ all: policy
 
 policy: valid
 	xsltproc \
-		--param toc.section.depth 5 \
+		--param toc.section.depth 3 \
+		--param toc.max.depth 2 \
+		--param generate.section.toc.level 2 \
+		--param use.id.as.filename 1 \
 		--param make.valid.html 1 \
 		--stringparam html.stylesheet policy.css \
-		--output policy.html \
-		/usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml/docbook.xsl \
+		--stringparam base.dir policy/ \
+		/usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml/chunk.xsl \
 		policy.xml 2>/dev/null
 
 clean:
-	rm -f docbook.css policy.html
+	rm -f docbook.css policy/*.html
 
 valid:
 	xmllint --valid --noout policy.xml
diff --git a/policy.xml b/policy.xml
index 05051cf..0bd5aba 100644
--- a/policy.xml
+++ b/policy.xml
@@ -70,60 +70,60 @@
       and <ulink url="http://live.osgeo.org/">OSGeo-Live</ulink> for their
       Ubuntu based distribution.
     </para>
-  </sect1>
-  <sect1 id="contribute">
-    <title>How to Contribute</title>
-    <para>
-      From the developer to the user, there is a long chain of tasks in which
-      we always welcome participation.
-      First we must keep ourselves informed about the software landscape in
-      GIS and/or OpenStreetMap.
-      Software to be packaged is chosen according to criteria such as users'
-      need and the consistency of the distribution.
-    </para>
-    <para>
-      Once in Debian, the software is monitored for its quality and bugs are
-      fixed, if possible in collaboration with the upstream maintainer(s).
-      All this work would not be very useful if it remains confidential or
-      confined to the source packages of Debian and its derivative distributions.
-    </para>
-    <para>
-      We also dedicate some time to advertise it to the world via
-      <ulink url="http://www.debian.org">www.debian.org</ulink>
-      and to ease the integration of new members.
-    </para>
-    <para>
-      Please contact us on
-      <ulink url="mailto:debian-gis at lists.debian.org">debian-gis at lists.debian.org</ulink>
-      if you want to help to make GIS and/or OpenStreetMap software available to
-      users of Debian and its derivative distributions such as Ubuntu,
-      OGeo-Live, Mint, etc. 
-      Read the <link linkend="membership">Membership</link>
-      section if you're interested in joining us.
-    </para>
-    <para>
-      If you speak a language other than English, you can contribute right away
-      with translations of package descriptions at
-      <ulink url="http://ddtp.debian.net">ddtp.debian.net</ulink>.
-    </para>
-    <para>
-      When working on these, you will find immediate targets for improvements
-      of the original English versions, too.
-      For these, though, you need access to Debian GIS's source code repository.
-      Very welcome are tutorials that guide Debian users towards the use of
-      packages to their immediate benefit.
-      You may also consider to write respective articles for Magazines,
-      be they online or in print.
-    </para>
-    <para>
-      This policy is a work in progress, and attempts to document best
-      practices which evolve and change over time.
-      Different people tend to do things in different ways.
-      If your way diverges, you may want to document it here
-      so that others can benefit.
-      Please send any comments or ideas to
-      <ulink url="mailto:debian-gis at lists.debian.org">debian-gis at lists.debian.org</ulink>.
-    </para>
+    <sect2 id="contribute">
+      <title>How to Contribute</title>
+      <para>
+        From the developer to the user, there is a long chain of tasks in which
+        we always welcome participation.
+        First we must keep ourselves informed about the software landscape in
+        GIS and/or OpenStreetMap.
+        Software to be packaged is chosen according to criteria such as users'
+        need and the consistency of the distribution.
+      </para>
+      <para>
+        Once in Debian, the software is monitored for its quality and bugs are
+        fixed, if possible in collaboration with the upstream maintainer(s).
+        All this work would not be very useful if it remains confidential or
+        confined to the source packages of Debian and its derivative distributions.
+      </para>
+      <para>
+        We also dedicate some time to advertise it to the world via
+        <ulink url="http://www.debian.org">www.debian.org</ulink>
+        and to ease the integration of new members.
+      </para>
+      <para>
+        Please contact us on
+        <ulink url="mailto:debian-gis at lists.debian.org">debian-gis at lists.debian.org</ulink>
+        if you want to help to make GIS and/or OpenStreetMap software available to
+        users of Debian and its derivative distributions such as Ubuntu,
+        OGeo-Live, Mint, etc. 
+        Read the <link linkend="membership">Membership</link>
+        section if you're interested in joining us.
+      </para>
+      <para>
+        If you speak a language other than English, you can contribute right away
+        with translations of package descriptions at
+        <ulink url="http://ddtp.debian.net">ddtp.debian.net</ulink>.
+      </para>
+      <para>
+        When working on these, you will find immediate targets for improvements
+        of the original English versions, too.
+        For these, though, you need access to Debian GIS's source code repository.
+        Very welcome are tutorials that guide Debian users towards the use of
+        packages to their immediate benefit.
+        You may also consider to write respective articles for Magazines,
+        be they online or in print.
+      </para>
+      <para>
+        This policy is a work in progress, and attempts to document best
+        practices which evolve and change over time.
+        Different people tend to do things in different ways.
+        If your way diverges, you may want to document it here
+        so that others can benefit.
+        Please send any comments or ideas to
+        <ulink url="mailto:debian-gis at lists.debian.org">debian-gis at lists.debian.org</ulink>.
+      </para>
+    </sect2>
     <sect2 id="membership">
       <title>Membership</title>
       <para>
diff --git a/policy.css b/policy/policy.css
similarity index 100%
rename from policy.css
rename to policy/policy.css

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