Fix resource references missing /static/
authorPhil Pennock <pdp@exim.org>
Thu, 6 Dec 2012 14:51:33 +0000 (09:51 -0500)
committerPhil Pennock <pdp@exim.org>
Thu, 6 Dec 2012 14:51:33 +0000 (09:51 -0500)
There's an old /doc/ on tahini, not created/managed by build.

This seems to get things working for me.

Testing on http://exim.spodhuis.org/

templates/doc/chapter.xsl
templates/doc/index.xsl
templates/static/doc/index.css

index bb0a3374bfc41b1829ce4508aa30b6b0c31ee42d..52b47f90d000fc8bf7a71d02b234b2509c25d9fb 100644 (file)
@@ -32,7 +32,7 @@
       <xsl:variable name="html.body.outer.append">
          <div id="toc">
             <ul class="hidden"/>
-            <img src="../../../../doc/contents.png" width="16" height="155"/>
+            <img src="${staticroot}/doc/contents.png" width="16" height="155"/>
          </div>
       </xsl:variable>
 
index 651cde7165931e6b3d249c1bda3ccb44799ac800..6237269bf231b69f97e6b449749478be4b12640d 100644 (file)
@@ -42,8 +42,8 @@
             <xsl:apply-templates select="bookinfo"/>
          </div>
          <div id="options" class="hidden">
-            <img src="{$docroot}/doc/plus-12x12.png"  width="12" height="12" class="expand"/>
-            <img src="{$docroot}/doc/minus-12x12.png" width="12" height="12" class="collapse"/>
+            <img src="{$staticroot}/doc/plus-12x12.png"  width="12" height="12" class="expand"/>
+            <img src="{$staticroot}/doc/minus-12x12.png" width="12" height="12" class="collapse"/>
            <xsl:text>Expand/Collapse all Chapters</xsl:text>
          </div>
          <div id="index">
index 63ea01fddfddc6a7b7b5d8d90df8824aeeccf8c0..708da46b803dfbdf9c48df78e555b44704879449 100644 (file)
@@ -48,7 +48,7 @@
 
 #chapters.expandable li.chapter .button {
        display:                        block;
-       background-image:               url('../../../../doc/plus-12x12.png');
+       background-image:               url('../../../../static/doc/plus-12x12.png');
 }
 
 #chapters.expandable li.chapter span.chapter_title.nosub {
@@ -60,7 +60,7 @@
 }
 
 #chapters.expandable li.chapter.open .button {
-       background-image:               url('../../../../doc/minus-12x12.png');
+       background-image:               url('../../../../static/doc/minus-12x12.png');
 }
 
 #chapters.expandable li.chapter.open ul.sections {