Skip to content
Snippets Groups Projects
Commit c68d4ae8 authored by Lina Wolf's avatar Lina Wolf Committed by Stefan Bürk
Browse files

[DOCS] Remove all highlight directives from changelog

These directives are currently causing errors in opening rst files in PHP storm.

Also it is best practice to only use explicit code blocks or literalincludes.

Resolves: #104849
Releases: main
Change-Id: I42aebb26e9398229159f91d8a100f277aa4837e3
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85918


Tested-by: default avatarChris Müller <typo3@brotkrueml.dev>
Reviewed-by: default avatarChris Müller <typo3@brotkrueml.dev>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 2e2ddbce
Branches
Tags
No related merge requests found
.. include:: /Includes.rst.txt
.. highlight:: xml
.. _feature-88950:
......@@ -20,13 +19,17 @@ As this is not always a desired behaviour (gdpr),
a boolean argument ``storeSession`` has been added to :php:`\TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetViewHelper`,
which defaults to true and can be used to disable session storage for this ViewHelper.
This will automatically create a ``fe_typo_user`` cookie in the frontend::
This will automatically create a ``fe_typo_user`` cookie in the frontend:
<f:widget.autocomplete for="name" objects="{posts}" searchProperty="author" />
.. code-block:: html
This will not create a cookie in frontend::
<f:widget.autocomplete for="name" objects="{posts}" searchProperty="author" />
<f:widget.autocomplete for="name" objects="{posts}" searchProperty="author" storeSession="false" />
This will not create a cookie in frontend:
.. code-block:: html
<f:widget.autocomplete for="name" objects="{posts}" searchProperty="author" storeSession="false" />
Impact
======
......
.. include:: /Includes.rst.txt
.. highlight:: typoscript
.. _feature-88147:
==========================================================================
......@@ -15,17 +13,23 @@ Description
The xsl file to create a layout for a XML sitemap can now be configured on three levels:
1. for all sitemaps::
1. for all sitemaps:
.. code-block:: typoscript
plugin.tx_seo.config.xslFile = EXT:myext/Resources/Public/CSS/mySite.xsl
2. for all sitemaps of a certain sitemapType:
plugin.tx_seo.config.xslFile = EXT:myext/Resources/Public/CSS/mySite.xsl
.. code-block:: typoscript
2. for all sitemaps of a certain sitemapType::
plugin.tx_seo.config.<sitemapType>.sitemaps.xslFile = EXT:myext/Resources/Public/CSS/mySite.xsl
plugin.tx_seo.config.<sitemapType>.sitemaps.xslFile = EXT:myext/Resources/Public/CSS/mySite.xsl
3. for a specific sitemap:
3. for a specific sitemap::
.. code-block:: typoscript
plugin.tx_seo.config.<sitemapType>.sitemaps.<sitemap>.config.xslFile = EXT:myext/Resources/Public/CSS/mySite.xsl
plugin.tx_seo.config.<sitemapType>.sitemaps.<sitemap>.config.xslFile = EXT:myext/Resources/Public/CSS/mySite.xsl
Impact
======
......
.. include:: /Includes.rst.txt
.. highlight:: yaml
.. _feature-86214:
......@@ -37,15 +36,17 @@ StaticText
The :yaml:`staticText` option allows to deliver simple text content. The text can be added through a text field directly in
the site configuration. This is suitable for files like :file:`robots.txt` or :file:`humans.txt`.
YAML Configuration Example::
YAML Configuration Example:
route: robots.txt
type: staticText
content: |
Sitemap: https://example.com/sitemap.xml
User-agent: *
Allow: /
Disallow: /forbidden/
.. code-block:: yaml
route: robots.txt
type: staticText
content: |
Sitemap: https://example.com/sitemap.xml
User-agent: *
Allow: /
Disallow: /forbidden/
TYPO3 URL (t3://)
-----------------
......@@ -53,16 +54,18 @@ TYPO3 URL (t3://)
The type :yaml:`uri` for TYPO3 URL provides the option to render either a file, page or url. Internally a request to the
file or URL is done and its content delivered.
YAML Configuration Examples::
YAML Configuration Examples:
.. code-block:: yaml
-
route: sitemap.xml
type: uri
source: 't3://page?uid=1&type=1533906435'
-
route: favicon.ico
type: uri
source: 't3://file?uid=77'
-
route: sitemap.xml
type: uri
source: 't3://page?uid=1&type=1533906435'
-
route: favicon.ico
type: uri
source: 't3://file?uid=77'
Implementation
......
.. include:: /Includes.rst.txt
.. highlight:: yaml
.. _feature-86365:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment