mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Fix syntax error in abn-tree.yml file (#4093)
There were 2 issues:
- YAML is indentation-sensitive, so descendants need indentation
- You can't mix object keys with array elements eg:
```yml
- one:
title: Title
- Invalid
```
So if you want to nest, then you can't use the shorthand:
```yml
- file/folder: Pretty name
```
You have to use:
```
- file/folder:
title: Pretty name
children:
- document.md: A document
```
This commit is contained in:
committed by
Eugenio Romano
parent
ef8e15ff60
commit
d6df5bc862
+13
-12
@@ -1,17 +1,18 @@
|
||||
- tutorials:
|
||||
title: Tutorials
|
||||
- creating-your-first-adf-application.md: 'Creating your first ADF application'
|
||||
- creating-the-app-using-yeoman.md: 'Creating your ADF application using Yeoman'
|
||||
- creating-javascript-app-using-alfresco-js-api.md: 'Creating your JavaScript application using alfresco-js-api'
|
||||
- new-component.md: 'Adding a new component'
|
||||
- new-view.md: 'Adding a new view'
|
||||
- using-components.md: 'Using components'
|
||||
- basic-theming.md: 'Basic theming'
|
||||
- customising-login.md: 'Customising the Login component'
|
||||
- working-with-data-table.md: 'Working with a DataTable'
|
||||
- working-with-nodes-api-service.md: 'Working with the Nodes API Service'
|
||||
- working-with-nodes-js-api.md: 'Working with nodes using the JS-API'
|
||||
- content-metadata-component.md: 'Content metadata component'
|
||||
children:
|
||||
- creating-your-first-adf-application.md: 'Creating your first ADF application'
|
||||
- creating-the-app-using-yeoman.md: 'Creating your ADF application using Yeoman'
|
||||
- creating-javascript-app-using-alfresco-js-api.md: 'Creating your JavaScript application using alfresco-js-api'
|
||||
- new-component.md: 'Adding a new component'
|
||||
- new-view.md: 'Adding a new view'
|
||||
- using-components.md: 'Using components'
|
||||
- basic-theming.md: 'Basic theming'
|
||||
- customising-login.md: 'Customising the Login component'
|
||||
- working-with-data-table.md: 'Working with a DataTable'
|
||||
- working-with-nodes-api-service.md: 'Working with the Nodes API Service'
|
||||
- working-with-nodes-js-api.md: 'Working with nodes using the JS-API'
|
||||
- content-metadata-component.md: 'Content metadata component'
|
||||
- user-guide: 'User guide'
|
||||
- core: 'Core API'
|
||||
- content-services: 'Content Services API'
|
||||
|
||||
Reference in New Issue
Block a user