chg: [mkdocs] add the contributing part

This commit is contained in:
Alexandre Dulaunoy 2024-01-02 10:48:39 +01:00
parent 62070573e1
commit 197aafdf15
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,4 @@
validators
mkdocs-git-committers-plugin
mkdocs-rss-plugin

View file

@ -33,6 +33,15 @@ Clusters serve as an open and freely accessible knowledge base, which can be uti
## Publicly available clusters
"""
index_contributing = """
# Contributing
In the dynamic realm of threat intelligence, a variety of models and approaches exist to systematically organize, categorize, and delineate threat actors, hazards, or activity groups. We embrace innovative methodologies for articulating threat intelligence. The galaxy model is particularly versatile, enabling you to leverage and integrate methodologies that you trust and are already utilizing within your organization or community.
We encourage collaboration and contributions to the [MISP Galaxy JSON files](https://github.com/MISP/misp-galaxy/). Feel free to fork the project, enhance existing elements or clusters, or introduce new ones. Your insights are valuable - share them with us through a pull-request.
"""
galaxy_output = {}
@ -98,6 +107,7 @@ for f in galaxies_fnames:
continue
galaxy_output[cluster_filename] += f' | `{meta}` |{value["meta"][meta]}|\n'
index_output += index_contributing
with open(os.path.join(pathSite, 'index.md'), "w") as index:
index.write(index_output)