summaryrefslogtreecommitdiff
path: root/docs/build/branches.rst
diff options
context:
space:
mode:
authorVlastimil Zíma <vlastimil.zima@nic.cz>2021-11-18 10:27:15 +0100
committerVlastimil Zíma <vlastimil.zima@nic.cz>2021-11-22 09:23:00 +0100
commit1d75fe98bc96181a830cca2c4d320f9384a8192c (patch)
treea7100604006f11a7999ed9c3b1aadbca44e96101 /docs/build/branches.rst
parentd18af2d6d1c49cc86b878d654b3404bb26614be6 (diff)
downloadalembic-1d75fe98bc96181a830cca2c4d320f9384a8192c.tar.gz
Tweak docs about version_path_separator
Diffstat (limited to 'docs/build/branches.rst')
-rw-r--r--docs/build/branches.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/build/branches.rst b/docs/build/branches.rst
index f3e5f4b..0eed96d 100644
--- a/docs/build/branches.rst
+++ b/docs/build/branches.rst
@@ -521,11 +521,12 @@ that module. So to start out, we can edit ``alembic.ini`` to refer
to multiple directories; we'll also state the current ``versions``
directory as one of them::
+ # A separator for the location paths must be defined first.
+ version_path_separator = os # Use os.pathsep.
# version location specification; this defaults
# to foo/versions. When using multiple version
# directories, initial revisions must be specified with --version-path
- version_path_separator = space
- version_locations = %(here)s/model/networking %(here)s/alembic/versions
+ version_locations = %(here)s/model/networking:%(here)s/alembic/versions
The new directory ``%(here)s/model/networking`` is in terms of where
the ``alembic.ini`` file is, as we are using the symbol ``%(here)s`` which