summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhaya Agarwal <abhaya@instascribe.com>2015-05-04 23:14:00 +0530
committerTim Graham <timograham@gmail.com>2015-05-05 09:22:54 -0400
commiteb00b427fc9d12c8ba53ce3875d7e481cd825e38 (patch)
tree3bb4cbc22d42352c70dea868a821dac7064642fc
parent0d6b7e4a884b0c582ac03bc7353d406e418a8873 (diff)
[1.8.x] Fixed #24736 -- Documented the Sitemap.limit attribute
Backport of 9096e2b5f75abf8e8882937bd3c3d47ccdc24e25 from master
-rw-r--r--docs/ref/contrib/sitemaps.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt
index b28b9b463d..a0490fd3f9 100644
--- a/docs/ref/contrib/sitemaps.txt
+++ b/docs/ref/contrib/sitemaps.txt
@@ -234,6 +234,15 @@ Sitemap class reference
sitemap was requested is used. If the sitemap is built outside the
context of a request, the default is ``'http'``.
+ .. attribute:: Sitemap.limit
+
+ **Optional.**
+
+ This attribute defines the maximum number of URLs included on each page
+ of the sitemap. Its value should not exceed the default value of
+ ``50000``, which is the upper limit allowed in the `Sitemaps protocol
+ <http://www.sitemaps.org/protocol.html#index>`_.
+
.. attribute:: Sitemap.i18n
.. versionadded:: 1.8