[DOCS] Fix formatting for lists in .rst
If there is not a newline before and after the list, the list may not be formatted correctly. A newline was added before and after lists in .rst files. Additionally, some lines beginning with "- " (which would result in false positives when checking) were modified so that list checking can be performed more easily in the future. Lists can be checked for example by using the following regular expressions: find typo3/sysext/*/Documentation -name "*.rst" | while read i;do grep -B1 -H -E "^(\-|\*)\s" "$i" | grep "\.rst-" \ | grep -v -E "\.rst-($|\-|\*|\s)" grep -A1 -H -E "^(\-|\*)\s" "$i" | grep "\.rst-" \ | grep -v -E "\.rst-($|\-|\*|\s)" done https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/ \ WritingReST/CommonPitfalls/Lists.html Resolves: #101715 Releases: main, 12.4, 11.5 Change-Id: I8dca5634ae3dcd7e702197cb72b43d79a05f3f5c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80652 Reviewed-by:Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Documentation/Changelog/10.4.x/Important-92655-MakeRequestTimeoutConfigurableForLinkvalidator.rst 2 additions, 2 deletions...-92655-MakeRequestTimeoutConfigurableForLinkvalidator.rst
- typo3/sysext/core/Documentation/Changelog/11.3/Deprecation-94377-ExtbaseObjectManager-getEmptyObject.rst 2 additions, 2 deletions...Deprecation-94377-ExtbaseObjectManager-getEmptyObject.rst
- typo3/sysext/core/Documentation/Changelog/11.4/Feature-94622-NewTCATypeCategory.rst 2 additions, 2 deletions...ation/Changelog/11.4/Feature-94622-NewTCATypeCategory.rst
- typo3/sysext/core/Documentation/Changelog/11.5.x/Important-100889-AllowInsecureSiteResolutionByQueryParameters.rst 3 additions, 3 deletions...t-100889-AllowInsecureSiteResolutionByQueryParameters.rst
- typo3/sysext/indexed_search/Documentation/AnalysingIndexedData/Index.rst 2 additions, 2 deletions...dexed_search/Documentation/AnalysingIndexedData/Index.rst
Please register or sign in to comment