1. Ronald Oussoren
  2. pyobjc


Ronald Oussoren  committed ed7a1c5

fix some broken links

  • Participants
  • Parent commits d71e77b
  • Branches default

Comments (0)

Files changed (3)

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

View file
 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-0008.txt
+.. _`PEP 8`: http://www.python.org/peps/pep-008.txt
 C code
 .. _reStructuredText: http://docutils.sourceforge.net/rst.html
-.. _`PEP 7`: http://www.python.org/peps/pep-0007.txt
+.. _`PEP 7`: http://www.python.org/peps/pep-007.txt

File pyobjc-core/Doc/intro.rst

View file
 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-0020.html
+.. _`Zen of Python`: http://www.python.org/peps/pep-020.html
 With no further ado, here are the three most important things you
 *must* know before embarking on any PyObjC voyage:
 ignoring them, and more importantly to introduce you to some issues w.r.t. 
 reference counting.
-It turns out that Cocoa uses a primitive form of `weak references`_.  Those 
-are not true `weak references`_ as in Python, but use-cases where an object 
+It turns out that Cocoa uses a primitive form of :mod:`weak references <weakref>`.  Those 
+are not true :mod:`weak references <weakref>` as in Python, but use-cases where an object 
 stores a reference to another object without increasing the reference count
 for that other object.  The bridge cannot solve the issues this introduces
 for you, which means that you get hard crashes when you're not careful when
-dealing with those `weak references`_.
-.. _`weak references`: http://www.python.org/doc/current/lib/module-weakref.html
+dealing with those :mod:`weak references <weakref>`.
 The basic rule to deal with weak references is: make sure objects stays
 alive as long as someone might have a weak reference to them.  Due to the way
 a sequence of values (and simularly for ``NSMutableDictionary`` instead of
-.. _`Cocoa Bindings`: http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaBindings/
-.. _`Key-Value Coding`: http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/
-.. _`Key-Value Observing`: http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueObserving/
+.. _`Cocoa Bindings`: https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaBindings/CocoaBindings.html
+.. _`Key-Value Coding`: https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/KeyValueCoding/Articles/KeyValueCoding.html
+.. _`Key-Value Observing`: https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/KeyValueObserving/KeyValueObserving.html
 NOTE: Key-Value Observing is not supported for "pure" python objects, that
 is instances of classes that don't inherit from ``NSObject``. Adding such 
 * `Cocoa examples at the Apple developer website`_
-* `stepwise.com`_
 * Your local bookstore or library
 .. _`PyObjC Example index`: ../Examples/00ReadMe.html
-..  _`Cocoa libraries`: http://developer.apple.com/referencelibrary/API_Fundamentals/Cocoa-api-date.html
+..  _`Cocoa libraries`: https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaFundamentals/Introduction/Introduction.html#//apple_ref/doc/uid/TP40002974
-..  _`Cocoa documentation at the Apple developer website`: http://developer.apple.com/documentation/Cocoa/Cocoa.html
+..  _`Cocoa documentation at the Apple developer website`: https://developer.apple.com/library/mac/navigation/index.html#section=Frameworks&topic=Cocoa%20Layer
-.. _`Cocoa examples at the Apple developer website`: http://developer.apple.com/samplecode/Cocoa/index.html
-.. _`stepwise.com`: http://www.stepwise.com/
+.. _`Cocoa examples at the Apple developer website`: https://developer.apple.com/library/mac/navigation/index.html#section=Resource%20Types&topic=Sample%20Code
 Notes on specific tasks

File pyobjc-core/NEWS.txt

View file
     such as an ``NSArray``, and there are no direct references to the block from
-.. __: http://llvm.org/svn/llvm-project/cfe/trunk/docs/BlockImplementation.txt
+.. __: http://llvm.org/svn/llvm-project/cfe/trunk/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
 - The module AppKit.NibClassBuilder has been moved to the package
-- Usage of libFFI (http://sources.redhat.com/libffi) is now mandatory. The
+- Usage of libFFI (http://sourceware.org/libffi/) is now mandatory. The
   setup.py gives the impression that it isn't, but we do *not* support 
   non-FFI builds.