From: Mike Bayer Date: Sun, 2 Feb 2014 23:01:59 +0000 (-0500) Subject: - lets intersphinx the new alembic article on constraint names X-Git-Tag: rel_0_9_2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4b3967087565165dd49871beaaa52393edb4eba1;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - lets intersphinx the new alembic article on constraint names --- diff --git a/doc/build/conf.py b/doc/build/conf.py index 1546177a64..6ad08fe384 100644 --- a/doc/build/conf.py +++ b/doc/build/conf.py @@ -33,6 +33,7 @@ import sqlalchemy extensions = [ 'sphinx.ext.autodoc', + 'sphinx.ext.intersphinx', 'builder.autodoc_mods', 'changelog', 'sphinx_paramlinks', @@ -320,3 +321,7 @@ epub_copyright = u'2007-2014, SQLAlchemy authors' # Allow duplicate toc entries. #epub_tocdup = True + +intersphinx_mapping = { + 'alembic': ('http://alembic.readthedocs.org/en/latest/', None), +} diff --git a/doc/build/core/constraints.rst b/doc/build/core/constraints.rst index d9a8fa98ab..91f794de1e 100644 --- a/doc/build/core/constraints.rst +++ b/doc/build/core/constraints.rst @@ -424,6 +424,8 @@ name as follows:: :paramref:`.MetaData.naming_convention` - for additional usage details as well as a listing of all avaiable naming components. + :ref:`alembic:tutorial_constraint_names` - in the Alembic documentation. + .. versionadded:: 0.9.2 Added the :paramref:`.MetaData.naming_convention` argument. Constraints API