From 4b3967087565165dd49871beaaa52393edb4eba1 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 2 Feb 2014 18:01:59 -0500 Subject: [PATCH] - lets intersphinx the new alembic article on constraint names --- doc/build/conf.py | 5 +++++ doc/build/core/constraints.rst | 2 ++ 2 files changed, 7 insertions(+) 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 -- 2.47.3