[DOCU-928] Tip for developers that YAML include files should not have spaces at the front of the line Created: 24/Jan/17 Updated: 27/May/20 Resolved: 27/May/20 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | 5.6, 5.7, 6.1, 6.2 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Christopher Zimmermann | Assignee: | Ashraf Khamis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoR: |
Empty
|
| Date of First Response: | |
| Epic Link: | Pre-2019 mgnl-staff requests |
| Sprint: | Docu Sprint 79 |
| Story Points: | 0.5 |
| Description |
|
A common pitfall for YAML include files is that they do not work because the lines have too many spaces in front of the first line. 1. Developers are not used to indentation being so important. Therefore please provide a tip of some kind that the first line in an include file should not have any indentation. Or a note that this could be the problem if their include file is not working.
On this page: https://documentation.magnolia-cms.com/display/DOCS61/YAML |
| Comments |
| Comment by Christopher Zimmermann [ 26/Sep/19 ] |
|
Still relevant. |
| Comment by Ashraf Khamis [ 27/May/20 ] |
|
The YAML include sections at https://documentation.magnolia-cms.com/display/DOCS62/YAML and https://documentation.magnolia-cms.com/display/DOCS62/YAML+inherit+and+include updated with the following tip:
Reviewed by Topher. All changes backported to DOCS61, DOCS57 & DOCS56. |