versionadded, versionchanged directives don't insert xref link with Sphinx 1.0
|Reported by:||ramiro||Owned by:||nobody|
|Has patch:||yes||Needs documentation:|
|Needs tests:||Patch needs improvement:|
It works correctly with Sphinx 0.6.x.
Refs. #13616 and #14005, this had already been reported by andrewsk (http://code.djangoproject.com/ticket/13616#comment:8).
The fix is to replace 'ref' with 'std:ref' when adding the node but I to migrate the directive implementation to the class-based scheme available since sphinx 0.6 from the deprecated function-based (see http://sphinx.pocoo.org/ext/appapi.html#sphinx.application.Sphinx.add_directive)