[1.8.x] Fixed #24736 -- Documented the Sitemap.limit attribute

Backport of 9096e2b5f7 from master
This commit is contained in:
Abhaya Agarwal 2015-05-04 23:14:00 +05:30 committed by Tim Graham
parent 0d6b7e4a88
commit eb00b427fc
1 changed files with 9 additions and 0 deletions

View File

@ -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