Commits

Ronald Oussoren committed 0540cda

more link fixes

Comments (0)

Files changed (11)

pyobjc-core/Doc/dev/coding-style.rst

 Python code
 -----------
 
-The coding style for core Python is used (see `PEP 8`_).  For consistency with
+The coding style for core Python is used (see :pep:`8`).  For consistency with
 Cocoa we use mixed-case identifiers (like ``lookUpClass``).
 
 PyObjC extensions to Apple frameworks should be clearly marked as such, 
 it clear to users where they should look for documentation of an item: The
 Apple documentation or ours.
 
-.. _`PEP 8`: http://www.python.org/peps/pep-008.txt
-
 C code
 ------
 
-The coding style for core Python is used (see `PEP 7`_).  We use ``PyObjC`` 
+The coding style for core Python is used (see :pep:`7`).  We use ``PyObjC`` 
 instead of ``Py`` as the prefix for globally visible symbols.
 
 All (Objective-)C files in ``Modules/objc/`` should include ``"pyobjc.h"`` as
     any other ReST markup.
         
 .. _reStructuredText: http://docutils.sourceforge.net/rst.html
-
-.. _`PEP 7`: http://www.python.org/peps/pep-007.txt

pyobjc-core/Doc/dev/wrapping.rst

 hang of it.  The signature for this method is 'v@:^@@'.  See `Type Encodings`_
 for the list of valid encoding characters for the Apple Objective-C runtime.
 
-.. _`Type Encodings`: http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/RuntimeOverview/chapter_4_section_6.html
+.. _`Type Encodings`: https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtTypeEncodings.html#//apple_ref/doc/uid/TP40008048-CH100-SW1
 
 Let's say the first argument is an output parameter.  Output parameters are 
 denoted in the signature string using the character 'o' before the actual

pyobjc-core/Doc/intro.rst

 you need to learn when writing Python code.  If you're not already an
 Objective-C programmer, some of them will seem strange or even
 "un-pythonic" at first.  However, you will get used to it, and the way
-that PyObjC works is quite compliant with the `Zen of Python`_
-(``import this``).  In fact, Ronald is Dutch ;)
-
-.. _`Zen of Python`: http://www.python.org/peps/pep-020.html
+that PyObjC works is quite compliant with the :pep:`20` (the Zen of Python,
+``import this``).  In fact, Ronald is Dutch ;)
 
 With no further ado, here are the three most important things you
 *must* know before embarking on any PyObjC voyage:

pyobjc-core/Doc/tutorials/embedded.rst

 (or to be more precise "application scripting support").  One of those is
 `AppScript`_.
 
-.. _`AppScript`: http://freespace.virgin.net/hamish.sanderson/appscript.html
+.. _`AppScript`: http://appscript.sourceforge.net
 
 When you have this module installed you can replace the contents of
 ``ITunesCommuncation.py`` with ``ITunesCommunication_AppScript.py``,

pyobjc-core/NEWS.txt

     such as an ``NSArray``, and there are no direct references to the block from
     Python.
 
-.. __: http://llvm.org/svn/llvm-project/cfe/trunk/docs/Block-ABI-Apple.txt
+.. __: http://clang.llvm.org/docs/Block-ABI-Apple.txt
 
 - ``objc.inject`` is no longer support. This was code that had no real relation
   to the rest of PyObjC and was only working in 32-bit mode with little reason

pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/Bookmarks/summary.txt

 Shows custom array controller that implements table view data source methods to support drag and drop, including copying objects from one window to another, 
 drop of URLs, and re-ordering of the content array.
 
-Originally from `Cocoa Bindings Examples and Hints`__, converted to PyObjC by 
+Originally from "Cocoa Bindings Examples and Hints", converted to PyObjC by 
 u.fiedler.
 
-.. __: http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
+.. http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
+   (dead link)

pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/ControlledPreferences/summary.txt

 archive/unarchive a non-property-list type automatically (``NSColor``, in 
 this case).
 
-Originally from `Cocoa Bindings Examples and Hints`__, converted to PyObjC by 
+Originally from "Cocoa Bindings Examples and Hints", converted to PyObjC by 
 u.fiedler.
 
-.. __: http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
+.. http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
+   (dead link)

pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/FilteringController/summary.txt

 Demonstrates how to subclass ``NSArrayController`` to implement filtering of a 
 ``NSTableView``. Also demonstrates the use of indexed accessors.
 
-Originally from `Cocoa Bindings Examples and Hints`__, converted to 
+Originally from "Cocoa Bindings Examples and Hints", converted to 
 PyObjC by u.fiedler.
 
-.. __: http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
+.. http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
+   (dead link)

pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/GraphicsBindings/summary.txt

 and offset of a shadow; the other view observes and displays a collection of 
 graphic objects.
 
-Originally from `Cocoa Bindings Examples and Hints`__, converted to PyObjC 
+Originally from "Cocoa Bindings Examples and Hints", converted to PyObjC 
 by u.fiedler.
 
-.. __: http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
+.. http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
+   (dead link)

pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/ManualBindings/summary.txt

 indexed accessor methods. A custom model object implements custom validation 
 method.
 
-Originally from `Cocoa Bindings Examples and Hints`__, converted to PyObjC by 
+Originally from "Cocoa Bindings Examples and Hints", converted to PyObjC by 
 u.fiedler.
 
-.. __: http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
+.. http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
+   (dead link)

pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/ToDos/summary.txt

 other to manage a pop-up menu in a table column. Also shows two value 
 transformers to alter the color of text.
 
-Originally from `Cocoa Bindings Examples and Hints`__, converted to PyObjC 
+Originally from "Cocoa Bindings Examples and Hints", converted to PyObjC 
 by u.fiedler.
 
-.. __: http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
+.. http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
+   (dead link)