Browse Source

Rename addsongdir content plugin

pull/207/head
Oliverpool 9 years ago
parent
commit
de7d632d21
  1. 2
      patacrep/content/addsongdir.py
  2. 2
      test/test_content/sort.source
  3. 2
      test/test_songbook/content.yaml

2
patacrep/content/addpath.py → patacrep/content/addsongdir.py

@ -37,4 +37,4 @@ def parse(keyword, config, argument):
config['_songdir'] = old_songdir
return processed_content
CONTENT_PLUGINS = {'addpath': parse}
CONTENT_PLUGINS = {'addsongdir': parse}

2
test/test_content/sort.source

@ -1,4 +1,4 @@
- addpath:
- addsongdir:
path: "datadir_sort"
content:
- section:

2
test/test_songbook/content.yaml

@ -11,7 +11,7 @@ content:
- section: Test of section
- sort:
- songsection: Test of song section
- addpath:
- addsongdir:
# relative to yaml songfile
path: content_datadir/content
content:

Loading…
Cancel
Save