Restructure the group dict initialization
By putting all value entries on separate lines with a trailing comma, it becomes easier to read the diff when later inserting or deleting the first or last value entry in any dict.
This commit is contained in:
parent
476f85bcf5
commit
94ca9cc358
@ -14,17 +14,24 @@ from wv_helper import open_file_write, open_file_read, open_file_append
|
|||||||
|
|
||||||
|
|
||||||
readme = 'readme.md'
|
readme = 'readme.md'
|
||||||
groups = {}
|
groups = {
|
||||||
groups['examples'] = {'path': Path(script_path).parent.parent.parent / 'examples',
|
'examples': {
|
||||||
|
'path': Path(script_path).parent.parent.parent / 'examples',
|
||||||
'prefix': 'ex',
|
'prefix': 'ex',
|
||||||
readme: [], # Include no files
|
readme: [], # Include no files
|
||||||
'title': 'Example Gallery'}
|
'title': 'Example Gallery',
|
||||||
groups['tutorial'] = {'path': Path(script_path).parent.parent.parent / 'tutorial',
|
},
|
||||||
|
'tutorial' : {
|
||||||
|
'path': Path(script_path).parent.parent.parent / 'tutorial',
|
||||||
'prefix': 'tutorial',
|
'prefix': 'tutorial',
|
||||||
readme: ['md', 'yml'], # Include .md and .yml files
|
readme: ['md', 'yml'], # Include .md and .yml files
|
||||||
'title': 'WireViz Tutorial'}
|
'title': 'WireViz Tutorial',
|
||||||
groups['demos'] = {'path': Path(script_path).parent.parent.parent / 'examples',
|
},
|
||||||
'prefix': 'demo'}
|
'demos' : {
|
||||||
|
'path': Path(script_path).parent.parent.parent / 'examples',
|
||||||
|
'prefix': 'demo',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
input_extensions = ['.yml']
|
input_extensions = ['.yml']
|
||||||
generated_extensions = ['.gv', '.png', '.svg', '.html', '.bom.tsv']
|
generated_extensions = ['.gv', '.png', '.svg', '.html', '.bom.tsv']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user