@ -252,7 +252,7 @@ def process_content(content, config=None):
"""Process content, and return a list of ContentItem() objects.
Arguments are:
- content: the content field of the .sb file, which should be an imbricated list
- content: the content field of the .sb file, which should be a nested list
and describe what is to be included in the songbook;
- config: the configuration dictionary of the current songbook.
@ -89,7 +89,6 @@ def parse(keyword, config, argument):
- config: the current songbook configuration dictionary;
- argument: a dict of:
key: the list of the fields used to sort songs (e.g. "by", "album", "title")
a minus mean reverse order: "-title"
content: content to be sorted. If this content
contain something else than a song, an exception is raised.
"""
@ -12,7 +12,7 @@ content:
- sort:
- songsection: Test of song section
- cwd:
# relative to sg file
# relative to sb file
path: content_datadir/content
content:
- "song.csg"