Permalink
Browse files

build nightly .pdf

  • Loading branch information...
1 parent 4bb8276 commit 699e546517dc2d94e548b820b8267689addebf4c @olt olt committed Oct 12, 2012
Showing with 7 additions and 5 deletions.
  1. +2 −2 doc/caches.rst
  2. +2 −2 doc/configuration_examples.rst
  3. +3 −1 tox.ini
View
@@ -37,10 +37,10 @@ This is the default cache type and it uses a single file for each tile. Availabl
``tms`` layout is not suited for large caches, since it will create directories with thousands of files, which most file systems do not handle well.
``use_grid_names``:
- .. versionadded:: 1.5.0
-
When ``true`` MapProxy will use the actual grid name in the path instead of the SRS code. E.g. tiles will be stored in ``./cache_data/mylayer/mygrid/`` instead of ``./cache_data/mylayer/EPSG1234/``.
+ .. versionadded:: 1.5.0
+
``mbtiles``
===========
@@ -160,7 +160,7 @@ The basic configuration for this use-case with MapProxy may look like this::
sources:
street_tile_source:
type: tile
- url: http://osm.omniscale.net/proxy/tiles/
+ url: http://osm.omniscale.net/proxy/tiles/ \
1.0.0/osm_roads_EPSG900913/%(z)s/%(x)s/%(y)s.png
transparent: true
@@ -199,7 +199,7 @@ You can change how MapProxy calculates the origin of the tile coordinates, if yo
The following example uses the class OpenLayers.Layer.OSM::
var overlay_layer = new OpenLayers.Layer.OSM("OSM osm_layer",
- "http://x.osm.omniscale.net/proxy/tiles/
+ "http://x.osm.omniscale.net/proxy/tiles/ \
osm_roads_EPSG900913/${z}/${x}/${y}.png?origin=nw",
{isBaseLayer: false, tileOptions: {crossOriginKeyword: null}}
);
View
@@ -21,4 +21,6 @@ deps =
sphinx
commands =
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
- rsync -a --del {envtmpdir}/html/ nightlydocs@five.omniscale.net:nightly
+ sphinx-build -b latex -d {envtmpdir}/doctrees . {envtmpdir}/latex
+ make -C {envtmpdir}/latex all-pdf
+ rsync -a --del {envtmpdir}/html/ {envtmpdir}/latex/MapProxy.pdf nightlydocs@five.omniscale.net:nightly

0 comments on commit 699e546

Please sign in to comment.