[Kimchi-devel] [PATCH 4/6] help pages: Adjust css url

Aline Manera alinefm at linux.vnet.ibm.com
Tue Apr 8 17:02:23 UTC 2014


From: Aline Manera <alinefm at br.ibm.com>

We should use absolute paths to point to css or other link url to avoid
directory struture dependencies.
Fix it.

Signed-off-by: Aline Manera <alinefm at br.ibm.com>
---
 ui/pages/help/dita-help.xsl |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ui/pages/help/dita-help.xsl b/ui/pages/help/dita-help.xsl
index 0821942..2ea1c38 100644
--- a/ui/pages/help/dita-help.xsl
+++ b/ui/pages/help/dita-help.xsl
@@ -8,8 +8,8 @@
         <html>
             <head>
                 <title><xsl:value-of select="/cshelp/title" /></title>
-                <link rel="shortcut icon" href="../images/logo.ico" />
-                <link rel="stylesheet" type="text/css" href="kimchi.css" />
+                <link rel="shortcut icon" href="/images/logo.ico" />
+                <link rel="stylesheet" type="text/css" href="/help/kimchi.css" />
             </head>
             <body>
                 <xsl:apply-templates select="//cshelp" />
-- 
1.7.10.4




More information about the Kimchi-devel mailing list