Ticket #8995: patch_1_sitemaps_https_documentation.diff

File patch_1_sitemaps_https_documentation.diff, 1.4 KB (added by mpaolini, 3 years ago)

documentation

  • docs/releases/1.4.txt

     
    340340  be able to retrieve a translation string without displaying it but setting
    341341  a template context variable instead.
    342342
     343* The :doc:`Sitemaps <ref/contrib/sitemaps>` framework can now handle links
     344  that use https protocol using the new class attribute
     345  :attr:`Sitemap.protocol` attribute.
     346
    343347.. _backwards-incompatible-changes-1.4:
    344348
    345349Backwards incompatible changes in 1.4
  • docs/ref/contrib/sitemaps.txt

     
    161161        the ``get_absolute_url()`` method on each object as returned by
    162162        :attr:`~Sitemap.items()`.
    163163
     164        To specify a protocol other than http use
     165        :attr:`~Sitemap.protocol` below.
     166
    164167    .. attribute:: Sitemap.lastmod
    165168
    166169        **Optional.** Either a method or attribute.
     
    193196            * ``'yearly'``
    194197            * ``'never'``
    195198
     199    .. attribute:: Sitemap.protocol
     200
     201        **Optional.** the protocol part of the URI, defaults to ``'http'``.
     202
     203        .. versionadded:: 1.4
     204
     205
    196206    .. method:: Sitemap.priority
    197207
    198208        **Optional.** Either a method or attribute.
Back to Top