diff artifacts/doc/conf/conf.xml @ 7804:5bb3f5d41d48

Add extra config files for modules and zoom scales and give option to use custom files for release.
author Tom Gottfried <tom@intevation.de>
date Thu, 06 Mar 2014 18:45:40 +0100
parents f4e4ee473472
children 35094b6bacf4 546a6318f681
line wrap: on
line diff
--- a/artifacts/doc/conf/conf.xml	Thu Mar 06 18:19:01 2014 +0100
+++ b/artifacts/doc/conf/conf.xml	Thu Mar 06 18:45:40 2014 +0100
@@ -10,6 +10,8 @@
     <!ENTITY generators  SYSTEM "generators.xml">
     <!ENTITY longitudinal-defaults SYSTEM "longitudinal-diagram-defaults.xml">
     <!ENTITY sqrelation-defaults SYSTEM "sqrelation-diagram-defaults.xml">
+    <!ENTITY zoom-scales SYSTEM "zoom-scales.xml">
+    <!ENTITY modules SYSTEM "modules.xml">
 ]>
 <artifact-database>
     <export-secret>YOUR_SECRET</export-secret>
@@ -279,89 +281,7 @@
         <artifact name="staticsqrelation" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/sqrelation.xml" />
     </artifacts>
 
-    <modules>
-        <module name="winfo" selected="true">
-            <river name="Donau"/>
-            <river name="Elbe"/>
-            <river name="Fulda (Sommer)"/>
-            <river name="Fulda (Winter)"/>
-            <river name="Havel"/>
-            <river name="Main"/>
-            <river name="Main (Wehrarm Volkach)"/>
-            <river name="Mosel"/>
-            <river name="Neckar"/>
-            <river name="Oder"/>
-            <river name="Rhein"/>
-            <river name="Saale"/>
-            <river name="Saale-Thüringen"/>
-            <river name="Saar"/>
-            <river name="Saar (Wiltinger Bogen)"/>
-            <river name="Werra (Sommer)"/>
-            <river name="Werra (Winter)"/>
-            <river name="Weser"/>
-        </module>
-        <module name="minfo">
-            <river name="Elbe"/>
-            <river name="Oder"/>
-            <river name="Rhein"/>
-        </module>
-        <module name="new_map">
-            <river name="Donau"/>
-            <river name="Elbe"/>
-            <river name="Fulda (Sommer)"/>
-            <river name="Fulda (Winter)"/>
-            <river name="Havel"/>
-            <river name="Main"/>
-            <river name="Main (Wehrarm Volkach)"/>
-            <river name="Mosel"/>
-            <river name="Neckar"/>
-            <river name="Oder"/>
-            <river name="Rhein"/>
-            <river name="Saale"/>
-            <river name="Saale-Thüringen"/>
-            <river name="Saar"/>
-            <river name="Saar (Wiltinger Bogen)"/>
-            <river name="Werra (Sommer)"/>
-            <river name="Werra (Winter)"/>
-            <river name="Weser"/>
-        </module>
-        <module name="new_chart">
-            <river name="Donau"/>
-            <river name="Elbe"/>
-            <river name="Fulda (Sommer)"/>
-            <river name="Fulda (Winter)"/>
-            <river name="Havel"/>
-            <river name="Main"/>
-            <river name="Main (Wehrarm Volkach)"/>
-            <river name="Mosel"/>
-            <river name="Neckar"/>
-            <river name="Oder"/>
-            <river name="Rhein"/>
-            <river name="Saale"/>
-            <river name="Saale-Thüringen"/>
-            <river name="Saar"/>
-            <river name="Saar (Wiltinger Bogen)"/>
-            <river name="Werra (Sommer)"/>
-            <river name="Werra (Winter)"/>
-            <river name="Weser"/>
-        </module>
-        <module name="fixanalysis">
-            <river name="Donau"/>
-            <river name="Elbe"/>
-            <river name="Fulda (Sommer)"/>
-            <river name="Havel"/>
-            <river name="Main"/>
-            <river name="Mosel"/>
-            <river name="Neckar"/>
-            <river name="Oder"/>
-            <river name="Rhein"/>
-            <river name="Saale"/>
-            <river name="Saar"/>
-            <river name="Saar (Wiltinger Bogen)"/>
-            <river name="Werra (Sommer)"/>
-            <river name="Weser"/>
-        </module>
-    </modules>
+    &modules;
 
     <hooks>
         <hook
@@ -406,14 +326,7 @@
     </flys>
 
     <options>
-        <zoom-scales>
-            <zoom-scale river="Elbe" range="50" radius="1" />
-            <zoom-scale river="Elbe" range="100" radius="5" />
-            <zoom-scale river="Elbe" range="500" radius="10" />
-            <zoom-scale river="Rhein" range="50" radius="1" />
-            <zoom-scale river="Rhein" range="100" radius="5" />
-            <zoom-scale river="Rhein" range="500" radius="10" />
-        </zoom-scales>
+        &zoom-scales;
 
         <dgm-path>/path/to/rivers/</dgm-path>
 

http://dive4elements.wald.intevation.org