Description added in the asciidoctor output
parent
2573068132
commit
f38452ed8b
|
@ -91,6 +91,8 @@ for taxonomy in taxonomies:
|
|||
if args.a:
|
||||
doc = asciidoc(content=machineTag(namespace=namespace, predicate=predicate['value']), adoc=doc)
|
||||
doc = asciidoc(content=machineTag(namespace=namespace, predicate=predicate['expanded']), adoc=doc, t='description')
|
||||
if predicate.get('description'):
|
||||
doc = asciidoc(content=machineTag(namespace=namespace, predicate=predicate['description']), adoc=doc, t='description')
|
||||
else:
|
||||
print (machineTag(namespace=namespace, predicate=predicate['value']))
|
||||
if args.e:
|
||||
|
|
Loading…
Reference in New Issue