diff artifacts/doc/conf/themes.xml @ 8803:080ee1c73bab

Entities will be resolved correctly if placeholder is given. Works since Rev f099f0b22e62 of framework. Theme config is thus found regardless of working dir of server.
author Tom Gottfried <tom@intevation.de>
date Thu, 24 Dec 2015 19:05:21 +0100
parents befa08182368
children 7bbfb24e6eec
line wrap: on
line diff
--- a/artifacts/doc/conf/themes.xml	Thu Dec 24 17:48:42 2015 +0100
+++ b/artifacts/doc/conf/themes.xml	Thu Dec 24 19:05:21 2015 +0100
@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE themes [
-    <!ENTITY virtual-themes SYSTEM "conf/themes/virtual.xml">
-    <!ENTITY default-themes SYSTEM "conf/themes/default.xml">
-    <!ENTITY second-themes  SYSTEM "conf/themes/second.xml">
+    <!ENTITY virtual SYSTEM "${artifacts.config.dir}/themes/virtual.xml">
+    <!ENTITY default SYSTEM "${artifacts.config.dir}/themes/default.xml">
+    <!ENTITY second  SYSTEM "${artifacts.config.dir}/themes/second.xml">
 ]>
 <themes>
-    &virtual-themes;
-    &default-themes;
-    &second-themes;
+    &virtual;
+    &default;
+    &second;
 
     <!-- Mappings are following now. A mapping maps between a name of a facet
         and a theme. Always the first matching mapping is taken, so consider putting

http://dive4elements.wald.intevation.org