[ScryMUD] SVN Commit Info r931 - in trunk/tools/python: . html_help_includes

scrymud at wanfear.com scrymud at wanfear.com
Sun Jun 10 02:06:38 PDT 2007


Author: eroper
Date: 2007-06-10 02:06:37 -0700 (Sun, 10 Jun 2007)
New Revision: 931

Modified:
   trunk/tools/python/html_help.py
   trunk/tools/python/html_help_includes/foot.html
   trunk/tools/python/html_help_includes/head.html
Log:
Header/Footer updated to reflect the currect state-of-the-website. Paths
updated to use absolute (vs. relative) paths where necessary to prevent broken
links.


Modified: trunk/tools/python/html_help.py
===================================================================
--- trunk/tools/python/html_help.py	2007-06-10 08:00:52 UTC (rev 930)
+++ trunk/tools/python/html_help.py	2007-06-10 09:06:37 UTC (rev 931)
@@ -104,8 +104,8 @@
    for link in doc.see_also:
       t = lib.by_name(link)
       if ( not t ): continue
-      if ( t.imm ): ret_val += "<a href=\"imm/%s.html\">%s</a> " %(link, link)
-      else: ret_val += "<a href=\"%s.html\">%s</a> " %(link, link)
+      if ( t.imm ): ret_val += "<a href=\"/help/imm/%s.html\">%s</a> " %(link, link)
+      else: ret_val += "<a href=\"/help/%s.html\">%s</a> " %(link, link)
 
    ret_val += '</div>'
 

Modified: trunk/tools/python/html_help_includes/foot.html
===================================================================
--- trunk/tools/python/html_help_includes/foot.html	2007-06-10 08:00:52 UTC (rev 930)
+++ trunk/tools/python/html_help_includes/foot.html	2007-06-10 09:06:37 UTC (rev 931)
@@ -1,13 +1,18 @@
-</div><!-- content -->
-<div id="footer">
-<p>The ScryMUD development team would like to thank our sponsors:</p>
-<a href="http://www.candelatech.com"><img src="/images/candela_swirl_small.png" width="71" height="33"></a>
-<a href="http://cenqua.com/"><img src="/images/cenquad.gif" width="89" height="33"></a>
-<a href="http://www.atlassian.com/c/NPOS/10160"><img src="/images/jira_button_66x33.gif" alt="Issues tracked by Jira"></a>
-</div>
+    </div><!-- content -->
+    <div id="footer">
+      <p>The ScryMUD development team would like to thank our
+      sponsors:</p><a href="http://www.candelatech.com"><img src=
+      "/images/candela_swirl_small.png" height="33" width="71" alt=
+      "Candela Technologies" /></a> <a href=
+      "http://cenqua.com/"><img src="/images/cenquad.gif" height=
+      "33" width="89" alt="cenqua" /></a> <a href=
+      "http://www.atlassian.com/c/NPOS/10160"><img src=
+      "/images/jira_button_66x33.gif" alt=
+      "Issues tracked by Jira" /></a>
+    </div>
 
-<p id="copyright">Copyright &#169; 2006, Edward Roper. All rights reserved.</p>
-
-</div><!-- container -->
+    <p id="copyright">Copyright &copy; 2007, Edward Roper. All
+    rights reserved.</p>
+  </div><!-- container -->
 </body>
 </html>

Modified: trunk/tools/python/html_help_includes/head.html
===================================================================
--- trunk/tools/python/html_help_includes/head.html	2007-06-10 08:00:52 UTC (rev 930)
+++ trunk/tools/python/html_help_includes/head.html	2007-06-10 09:06:37 UTC (rev 931)
@@ -1,49 +1,62 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
-    <head>
-        <title>ScryMUD documentation</title>
-        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-        <link rel="stylesheet" type="text/css" href="/css/common.css">
-    </head>
-    <body>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <title>ScryMUD</title>
+  <meta http-equiv="Content-Type" content=
+  "text/html; charset=iso-8859-1" />
+  <meta name="keywords" content="scrymud help" />
+  <link rel="stylesheet" type="text/css" href="/css/common.css" />
+</head>
 
+<body>
+  <div id="container">
+    <img id="logo" border="0" src="/images/scry_helm-logo.jpg" height="100"
+    width="800" alt="ScryMUD logo" />
 
-        <div id="container">
+    <div id="content">
+      <div id="nav">
+        <span class="nav-header">ScryMUD</span>
 
-            <img id="logo" src="/images/scry_helm-logo.jpg" alt="ScryMUD" width="800" height="100">
+        <ul class="nav">
+          <li><a href="/">Home</a></li>
 
-            <div id="content">
+          <li><a href="/forums/">The forums</a></li>
 
-                <div id="nav">
+          <li><a href=
+          "http://www.wanfear.com/mailman/listinfo/scrymud/">The
+          mailing-list</a></li>
 
-                    <span class="nav-header">ScryMUD</span>
-                    <ul class="nav">
-                        <li><a href="/">Home</a></li>
-                        <li><a href="/status.html">Game status</a></li>
-                        <li><a href="/forums/">The forums</a></li>
-                        <li><a href="http://www.wanfear.com/mailman/listinfo/scrymud/">The mailing-list</a></li>
-                        <li><a href="/setting.html">Setting</a></li>
-                        <li><a href="/races.html">Races</a></li>
-                    </ul>
+          <li><a href="/setting.html">Setting</a></li>
 
-                    <span class="nav-header">Players</span>
-                    <ul class="nav">
-                        <li><a href="/playerguide.html">New player guide</a></li>
-                        <li><a href="/cartography.html">Cartography</a></li>
-                        <li><a href="/help/">Commands</a></li>
-                        <li><a href="/skills_spells/">Skills/Spells</a></li>
-<li><a href="/images/ss.png">Skill/Spell Graph</a></li>
+          <li><a href="/races.html">Races</a></li>
+        </ul><span class="nav-header">Players</span>
 
-                    </ul>
+        <ul class="nav">
+          <li><a href="/playerguide.html">New player guide</a></li>
 
-                    <span class="nav-header">Developers</span>
-                    <ul class="nav">
-                        <li><a href="/help/imm/">Immortal commands</a></li>
-                        <li><a href="/builders/">Builder docs.</a></li>
-                        <li><a href="http://source.scrymud.net/">The code</a></li>
-                        <li><a href="http://bugs.scrymud.net/">Bugs</a></li>
-                        <li><a href="/features.html">Features</a></li>
-                        <li><a href="/download.html">Downloads</a></li>
-                    </ul>
-                </div><!-- nav -->
+          <li><a href="/cartography.html">Cartography</a></li>
+
+          <li><a href="/help/">Commands</a></li>
+
+          <li><a href="/skills_spells/">Skills/Spells</a></li>
+
+          <li><a href="/images/ss.png">Skill/Spell Graph</a></li>
+        </ul><span class="nav-header">Developers</span>
+
+        <ul class="nav">
+          <li><a href="/help/imm">Immortal commands</a></li>
+
+          <li><a href="/builders/">Builder docs.</a></li>
+
+          <li><a href="http://source.scrymud.net/">The
+          code</a></li>
+
+          <li><a href="http://bugs.scrymud.net/">Bugs</a></li>
+
+          <li><a href="/features.html">Features</a></li>
+
+          <li><a href="/download.html">Downloads</a></li>
+        </ul>
+      </div><!-- nav -->




More information about the ScryMUD mailing list