From d5b6cfbe7c513f8f14f3ecad72e99db843d78a25 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Fri, 5 May 2017 23:15:49 +0200 Subject: [PATCH] Add meaningful infobox --- tools/adoc_galaxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/adoc_galaxy.py b/tools/adoc_galaxy.py index e01c13b..d3e1bec 100644 --- a/tools/adoc_galaxy.py +++ b/tools/adoc_galaxy.py @@ -47,7 +47,7 @@ def asciidoc(content=False, adoc=None, t='title',title=''): if t == 'title': output = '== ' + content elif t == 'info': - output = "\n{}.\n\n{} {}\n".format(content, 'NOTE: ', title) + output = "\n{}.\n\n{} {} {}{}.json[*this location*] {}.\n".format(content, 'NOTE: ', title, 'is a cluster galaxy available in JSON format at https://github.com/MISP/misp-galaxy/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].') elif t == 'author': output = '\nauthors:: {}\n'.format(' - '.join(content)) elif t == 'value':