]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
- fix some sphinx link stuff
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Jul 2017 15:59:04 +0000 (11:59 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Jul 2017 15:59:04 +0000 (11:59 -0400)
alembic/command.py
docs/build/api/operations.rst
docs/build/changelog.rst
docs/build/ops.rst

index 694ee3f50d4c3d0d18387c6e54aeeee8d8bcf4f9..02805281d41eb3f39489ba669681aa8b81f507f5 100644 (file)
@@ -226,7 +226,7 @@ def upgrade(config, revision, sql=False, tag=None):
     :param sql: if True, use ``--sql`` mode
 
     :param tag: an arbitrary "tag" that can be intercepted by custom
-     ``env.py`` scripts via the :class:`.EnvironmentContext.get_tag_argument`
+     ``env.py`` scripts via the :meth:`.EnvironmentContext.get_tag_argument`
      method.
 
     """
@@ -264,7 +264,7 @@ def downgrade(config, revision, sql=False, tag=None):
     :param sql: if True, use ``--sql`` mode
 
     :param tag: an arbitrary "tag" that can be intercepted by custom
-     ``env.py`` scripts via the :class:`.EnvironmentContext.get_tag_argument`
+     ``env.py`` scripts via the :meth:`.EnvironmentContext.get_tag_argument`
      method.
 
     """
index e55b958b7fec584fb31aaf77ecb6a98c1bdcbc7b..e23dc20d79632e425d60c46130e598ed30aeabef 100644 (file)
@@ -149,6 +149,7 @@ within the module level of the ``env.py`` script is sufficient.
 
 
 .. _operation_objects:
+.. _alembic.operations.ops.toplevel:
 
 Built-in Operation Objects
 ==============================
@@ -169,7 +170,5 @@ autogenerate system renders new migration scripts.
 
 The built-in operation objects are listed below.
 
-.. _alembic.operations.ops.toplevel:
-
 .. automodule:: alembic.operations.ops
     :members:
index c85662c55716dafe01bfaaf387eeccbafb2ac750..919a50631154db43a580468a1b7ebb10047e4fdb 100644 (file)
@@ -10,7 +10,8 @@ Changelog
     .. change::
       :tags: feature, runtime
 
-      Added a new callback hook :paramref:`.EnvironmentContext.on_version_apply`,
+      Added a new callback hook 
+      :paramref:`.EnvironmentContext.configure.on_version_apply`,
       which allows user-defined code to be invoked each time an individual
       upgrade, downgrade, or stamp operation proceeds against a database.
       Pull request courtesy John Passaro.
index 49aaef5c18e174c6646b1cacdce98a8a95f1ab1d..6d12d92219014272d422a60f9707f295356d43b0 100644 (file)
@@ -39,5 +39,8 @@ circumstances they are called from an actual migration script, which
 itself would be invoked by the :meth:`.EnvironmentContext.run_migrations`
 method.
 
-.. automodule:: alembic.operations
-       :members: Operations, BatchOperations
+.. module:: alembic.operations
+
+.. autoclass:: Operations
+
+.. autoclass:: BatchOperations