mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-22 23:07:19 +00:00
chg: [mkdocs] add the authors box per cluster
This commit is contained in:
parent
197aafdf15
commit
b94f7d7274
1 changed files with 11 additions and 0 deletions
|
@ -58,6 +58,17 @@ for f in galaxies_fnames:
|
|||
galaxy_output[cluster_filename] += "---\n"
|
||||
galaxy_output[cluster_filename] += f'# {cluster["name"]}\n'
|
||||
galaxy_output[cluster_filename] += f'{cluster["description"]}\n'
|
||||
|
||||
if 'authors' in cluster:
|
||||
if cluster["authors"]:
|
||||
galaxy_output[cluster_filename] += f'\n'
|
||||
galaxy_output[cluster_filename] += f'??? info "Authors"\n'
|
||||
galaxy_output[cluster_filename] += f'\n'
|
||||
galaxy_output[cluster_filename] += f' | Authors and/or Contributors|\n'
|
||||
galaxy_output[cluster_filename] += f' |----------------------------|\n'
|
||||
for author in cluster["authors"]:
|
||||
galaxy_output[cluster_filename] += f' |{author}|\n'
|
||||
|
||||
for value in cluster["values"]:
|
||||
galaxy_output[cluster_filename] += f'## {value["value"]}\n'
|
||||
galaxy_output[cluster_filename] += f'\n'
|
||||
|
|
Loading…
Reference in a new issue