From 3f672b5edf8144d2ec48277c0cfc24d53e6b4a35 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Wed, 13 Sep 2017 21:40:47 +0200 Subject: [PATCH] url fixed --- tools/adoc_objects.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/adoc_objects.py b/tools/adoc_objects.py index a2ee767..30ed19b 100755 --- a/tools/adoc_objects.py +++ b/tools/adoc_objects.py @@ -66,7 +66,7 @@ def asciidoc(content=False, adoc=None, t='title',title=''): if t == 'title': output = '== ' + content elif t == 'info': - output = "\n{}.\n\n{} {} {}{}/definition.json[*this location*] {}.\n".format(content, 'NOTE: ', title, 'is a MISP object available in JSON format at https://github.com/MISP/misp-object/blob/master/clusters/',title.lower(),' The JSON format can be freely reused in your application or automatically enabled in https://www.github.com/MISP/MISP[MISP]') + output = "\n{}.\n\n{} {} {}{}/definition.json[*this location*] {}.\n".format(content, 'NOTE: ', title, 'is a MISP object available in JSON format at https://github.com/MISP/misp-objects/blob/master/',title.lower(),' The JSON format can be freely reused in your application or automatically enabled in https://www.github.com/MISP/MISP[MISP]') elif t == 'author': output = '\nauthors:: {}\n'.format(' - '.join(content)) elif t == 'value': @@ -111,7 +111,7 @@ with open('../relationships/definition.json') as filerelationships: output = '== Relationships\n' output = output + '\n{}\n'.format(rel['description']) - output = output + '\nRelationships are part of MISP object and available in JSON format at https://github.com/MISP/misp-object/blob/master/relationships/definition.json[this location]. The JSON format can be freely reused in your application or automatically enabled in https://www.github.com/MISP/MISP[MISP].\n' + output = output + '\nRelationships are part of MISP object and available in JSON format at https://github.com/MISP/misp-objects/blob/master/relationships/definition.json[this location]. The JSON format can be freely reused in your application or automatically enabled in https://www.github.com/MISP/MISP[MISP].\n' output = output + '|===\n' output = output + '|Name of relationship | Description | Format\n' for relationship in rel['values']: