]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- lets intersphinx the new alembic article on constraint names
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 2 Feb 2014 23:01:59 +0000 (18:01 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 2 Feb 2014 23:01:59 +0000 (18:01 -0500)
doc/build/conf.py
doc/build/core/constraints.rst

index 1546177a64a116649282651c03ee58caba297c65..6ad08fe3843884217f45741b73347633a7767d26 100644 (file)
@@ -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),
+}
index d9a8fa98abcb8fa8ac5106e8effb51c5e96e9cbc..91f794de1ebcc97a20d6c4566b5d4f65405103d2 100644 (file)
@@ -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