[pypy-svn] r10739 - pypy/dist/pypy/documentation

hpk at codespeak.net hpk at codespeak.net
Sat Apr 16 19:36:40 CEST 2005


Author: hpk
Date: Sat Apr 16 19:36:40 2005
New Revision: 10739

Modified:
   pypy/dist/pypy/documentation/howtopypy.txt
   pypy/dist/pypy/documentation/howtosvn.txt
   pypy/dist/pypy/documentation/newrepolayout.txt
   pypy/dist/pypy/documentation/rest_test.py
Log:
optionally rest_test.py even checks remote links now. 
fixed wrong URLs all around


Modified: pypy/dist/pypy/documentation/howtopypy.txt
==============================================================================
--- pypy/dist/pypy/documentation/howtopypy.txt	(original)
+++ pypy/dist/pypy/documentation/howtopypy.txt	Sat Apr 16 19:36:40 2005
@@ -314,7 +314,7 @@
    in pyopcode.py_, frame and code objects in eval.py_ and pyframe.py_,
    function objects and argument passing in function.py_ and argument.py_,
    the object space interface definition in baseobjspace.py_, modules in
-   module.py_ and extmodule.py_.  Core types supporting the interpreter are
+   module.py_ and lazymodule.py_.  Core types supporting the interpreter are
    defined in typedef.py_.
 
 *  `dist-pypy/pypy/objspace/std`_ contains the `Standard object space`_.  The main file
@@ -360,7 +360,7 @@
 .. _argument.py:            http://codespeak.net/svn/pypy/dist/pypy/interpreter/argument.py
 .. _baseobjspace.py:        http://codespeak.net/svn/pypy/dist/pypy/interpreter/baseobjspace.py
 .. _module.py:              http://codespeak.net/svn/pypy/dist/pypy/interpreter/module.py
-.. _extmodule.py:           http://codespeak.net/svn/pypy/dist/pypy/interpreter/extmodule.py
+.. _lazymodule.py:          http://codespeak.net/svn/pypy/dist/pypy/interpreter/lazymodule.py
 .. _typedef.py:             http://codespeak.net/svn/pypy/dist/pypy/interpreter/typedef.py
 .. _dist-pypy/pypy/objspace/std:  http://codespeak.net/svn/pypy/dist/pypy/objspace/std/
 .. _Standard object space:  http://codespeak.net/pypy/index.cgi?doc/stdobjspace.html

Modified: pypy/dist/pypy/documentation/howtosvn.txt
==============================================================================
--- pypy/dist/pypy/documentation/howtosvn.txt	(original)
+++ pypy/dist/pypy/documentation/howtosvn.txt	Sat Apr 16 19:36:40 2005
@@ -49,7 +49,7 @@
 
   deb http://fs.cs.fhm.edu/mirror/backports.org/debian stable subversion
 
-Note that you can always go look at the files online_ with your browser, located at: http://codespeak.net/svn/pypy/trunk
+Note that you can always go look at the files online_ with your browser, located at: http://codespeak.net/svn/pypy/dist
 But, you'll want to check out your own local copies to work on.
 
 Check out and Check in
@@ -96,7 +96,7 @@
  Transmitting file data .
  Committed revision 631.
 
-Check online on the check-in archives_ and you'll see your revision. Feel free to add a documentation file on any major changes you've made! See the readme_ on documentation for more info.
+Check online on the check-in archives_ and you'll see your revision. Feel free to add a documentation file on any major changes you've made!  
 
 Some other useful subversion tricks:
 --------------------------------------
@@ -165,8 +165,7 @@
 
 .. _guide: http://svnbook.red-bean.com/book.html#svn-ch-1
 .. _archives: http://codespeak.net/pipermail/pypy-svn/
-.. _online: http://codespeak.net/svn/pypy/trunk/
-.. _coding-style: http://codespeak.net/pypy/doc/coding-style.html
-.. _readme: http://codespeak.net/pypy/doc/readme.html
+.. _online: http://codespeak.net/svn/pypy/dist/
+.. _coding-style: coding-style.html 
 .. _HowToInstallServer: http://codespeak.net/moin/pypy/moin.cgi/HowToInstallServer
 .. _backports: http://www.backports.org

Modified: pypy/dist/pypy/documentation/newrepolayout.txt
==============================================================================
--- pypy/dist/pypy/documentation/newrepolayout.txt	(original)
+++ pypy/dist/pypy/documentation/newrepolayout.txt	Sat Apr 16 19:36:40 2005
@@ -12,13 +12,12 @@
 - `extradoc`_: talks, papers, newsletters and EU-related information
   that are useful for not-only-developers 
 
-- `eu-tracking`_: eu-tracking details that involve internal 
+- `eu-tracking`: eu-tracking details that involve internal 
   budget/cost/audit preparations and documentations (not 
   available to anonymous checkouts) 
 
 .. _`extradoc`: http://codespeak.net/svn/pypy/extradoc 
 .. _`dist`: http://codespeak.net/svn/pypy/dist  
-.. _`eu-tracking`: http://codespeak.net/svn/pypy/eu-tracking 
 
 More detailed layout (work in progress) 
 ---------------------------------------

Modified: pypy/dist/pypy/documentation/rest_test.py
==============================================================================
--- pypy/dist/pypy/documentation/rest_test.py	(original)
+++ pypy/dist/pypy/documentation/rest_test.py	Sat Apr 16 19:36:40 2005
@@ -8,6 +8,8 @@
 
 docdir = py.path.svnwc(pypy.__file__).dirpath('documentation')
 
+checkremote = False 
+
 def restcheck(path):
     try:
         import docutils
@@ -32,8 +34,14 @@
                 continue
             tryfn = l[1].strip() 
             if tryfn.startswith('http:'): 
-                # XXX try retrieve? 
-                pass 
+                if not checkremote: 
+                    continue
+                try: 
+                    print "trying remote", tryfn
+                    py.std.urllib2.urlopen(tryfn)
+                except py.std.urllib2.HTTPError: 
+                    py.test.fail("remote reference error %r in %s:%d" %(
+                                  tryfn, path.basename, lineno+1))
             elif tryfn.endswith('.html'): 
                 # assume it should be a file 
                 fn = ddir.join(tryfn) 



More information about the Pypy-commit mailing list