Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

[TASK] Remove caption of code snippet #459

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

brotkrueml
Copy link
Contributor

The caption is wrong, as the example should be added to a page field according to the description and not to a file.

Releases: main, 12.4

The caption is wrong, as the example should be added to a page field according to the description and not to a file.

Releases: main, 12.4
@brotkrueml brotkrueml requested a review from linawolf April 13, 2024 16:39
@brotkrueml brotkrueml self-assigned this Apr 13, 2024
@linawolf
Copy link
Member

Simply removing the caption is not a solution. It should then state where to put the code. This topic frequently confuses newbies. So removing the caption does not really improve the situation. Or we could insert a condition instead?

@brotkrueml
Copy link
Contributor Author

It is said in the text above, that it should be added to the page:
"... using page TSconfig in the :guilabel:Resources tab of the page ..."

So, it is clearly stated.

@linawolf
Copy link
Member

We made the rule a while back that each code snippet should have information on where to put it or the fact that is an example output right in the caption. This we decided after there was a lot of feedback that new users are confused about where to put the code from examples. So they should never be removed but only improved or corrected

@linawolf linawolf merged commit 8ed5d96 into TYPO3-Documentation:main Apr 18, 2024
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants