Browse Source

Fixed #24736 -- Documented the Sitemap.limit attribute

Abhaya Agarwal 10 years ago
parent
commit
9096e2b5f7
1 changed files with 9 additions and 0 deletions
  1. 9 0
      docs/ref/contrib/sitemaps.txt

+ 9 - 0
docs/ref/contrib/sitemaps.txt

@@ -232,6 +232,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