[pypy-svn] r50668 - pypy/dist/pypy/doc

arigo at codespeak.net arigo at codespeak.net
Wed Jan 16 13:41:46 CET 2008


Author: arigo
Date: Wed Jan 16 13:41:45 2008
New Revision: 50668

Removed:
   pypy/dist/pypy/doc/contact.html
   pypy/dist/pypy/doc/news.html
Modified:
   pypy/dist/pypy/doc/redirections
   pypy/dist/pypy/doc/test_redirections.py
Log:
Generate news.html and contact.html by using 'redirections'.
hpk: feel free to revert if there was a reason for which
you didn't do that in the first place.


Modified: pypy/dist/pypy/doc/redirections
==============================================================================
--- pypy/dist/pypy/doc/redirections	(original)
+++ pypy/dist/pypy/doc/redirections	Wed Jan 16 13:41:45 2008
@@ -33,5 +33,7 @@
     'draft-low-level-encapsulation.html': 'low-level-encapsulation.html',
     'draft-memory-management-threading-model.html': 'translation-aspects.html',
     'proxy.html': 'objspace-proxies.html#tproxy',
+    'news.html': 'home.html',
+    'contact.html': 'home.html',
 }
 

Modified: pypy/dist/pypy/doc/test_redirections.py
==============================================================================
--- pypy/dist/pypy/doc/test_redirections.py	(original)
+++ pypy/dist/pypy/doc/test_redirections.py	Wed Jan 16 13:41:45 2008
@@ -40,13 +40,13 @@
     oldpath.write("""<html>
     <head>
         <meta http-equiv="refresh"
-              content="2 ; URL=%s" />
+              content="0 ; URL=%s" />
         <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
         <META HTTP-EQUIV="expires" CONTENT="0">
     </head>
-    <body>
+    <body> X
         <p>
-            you should be redirected to
+            you should be automatically redirected to
             <a href="%s">%s</a>
         </p>
     </body>



More information about the Pypy-commit mailing list