add: description is now added in the asciidoc output for the values
parent
adfa0e91c0
commit
b1426ef306
|
@ -140,6 +140,8 @@ for taxonomy in taxonomies:
|
||||||
if args.a and 'expanded' in v:
|
if args.a and 'expanded' in v:
|
||||||
doc = asciidoc(content=machineTag(namespace=namespace, predicate=e['predicate'], value=v['value']), adoc=doc)
|
doc = asciidoc(content=machineTag(namespace=namespace, predicate=e['predicate'], value=v['value']), adoc=doc)
|
||||||
doc = asciidoc(content=machineTag(namespace=namespace, predicate=v['expanded']), adoc=doc, t='description')
|
doc = asciidoc(content=machineTag(namespace=namespace, predicate=v['expanded']), adoc=doc, t='description')
|
||||||
|
if 'description' in v:
|
||||||
|
doc = asciidoc(content=machineTag(namespace=namespace, predicate=v['description']), adoc=doc, t='description')
|
||||||
else:
|
else:
|
||||||
print(machineTag(namespace=namespace, predicate=e['predicate'], value=v['value']))
|
print(machineTag(namespace=namespace, predicate=e['predicate'], value=v['value']))
|
||||||
if args.e:
|
if args.e:
|
||||||
|
|
Loading…
Reference in New Issue