Commit eb00b427 authored by Abhaya Agarwal's avatar Abhaya Agarwal Committed by Tim Graham
Browse files

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

Backport of 9096e2b5 from master
parent 0d6b7e4a
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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