summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJustin Bronn <jbronn@gmail.com>2011-03-16 16:21:16 +0000
committerJustin Bronn <jbronn@gmail.com>2011-03-16 16:21:16 +0000
commit127331041e9e002867e53980aef11c5909505147 (patch)
tree44193e55576a53383a2657470d5545a8d82b2947 /docs
parent4da019ea19a2d36190fb0ffc887a11652296dad4 (diff)
Use Sphinx `:download:` directives for spatial database template creation scripts instead of linking to geodjango.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/gis/install.txt25
1 files changed, 10 insertions, 15 deletions
diff --git a/docs/ref/contrib/gis/install.txt b/docs/ref/contrib/gis/install.txt
index 841a3a08e4..4c182caec3 100644
--- a/docs/ref/contrib/gis/install.txt
+++ b/docs/ref/contrib/gis/install.txt
@@ -544,14 +544,14 @@ to create a PostGIS spatial database template::
These commands may be placed in a shell script for later use; for convenience
the following scripts are available:
-=============== ==========================================
-PostGIS Version Shell Script
-=============== ==========================================
-1.3 `create_template_postgis-1.3.sh`_
-1.4 `create_template_postgis-1.4.sh`_
-1.5 `create_template_postgis-1.5.sh`_
-Debian/Ubuntu `create_template_postgis-debian.sh`_
-=============== ==========================================
+=============== =============================================
+PostGIS Version Bash Shell Script
+=============== =============================================
+1.3 :download:`create_template_postgis-1.3.sh`
+1.4 :download:`create_template_postgis-1.4.sh`
+1.5 :download:`create_template_postgis-1.5.sh`
+Debian/Ubuntu :download:`create_template_postgis-debian.sh`
+=============== =============================================
Afterwards, you may create a spatial database by simply specifying
``template_postgis`` as the template to use (via the ``-T`` option)::
@@ -566,11 +566,6 @@ Afterwards, you may create a spatial database by simply specifying
$ createuser --createdb <user>
-.. _create_template_postgis-1.3.sh: http://geodjango.org/docs/create_template_postgis-1.3.sh
-.. _create_template_postgis-1.4.sh: http://geodjango.org/docs/create_template_postgis-1.4.sh
-.. _create_template_postgis-1.5.sh: http://geodjango.org/docs/create_template_postgis-1.5.sh
-.. _create_template_postgis-debian.sh: http://geodjango.org/docs/create_template_postgis-debian.sh
-
.. _create_spatialite_db:
Creating a Spatial Database for SpatiaLite
@@ -926,7 +921,7 @@ Ubuntu & Debian GNU/Linux
The PostGIS SQL files are not placed the PostgreSQL share directory in the
Debian and Ubuntu packages, and are located instead special directory
depending on the release. Thus, when :ref:`spatialdb_template` use the
- `create_template_postgis-debian.sh`_ script instead
+ :download:`create_template_postgis-debian.sh` script instead
.. _ubuntu:
@@ -1094,7 +1089,7 @@ Debian 5.0 . Thus when :ref:`spatialdb_template` either:
If not running PostgreSQL 8.3, then replace ``8.3`` in the command above with the correct version.
-* Or use the `create_template_postgis-debian.sh`_ to create the spatial database.
+* Or use the :download:`create_template_postgis-debian.sh` to create the spatial database.
.. _windows: