Commit 31917cc6 authored by David Hrbáč's avatar David Hrbáč

Modules matrix correction to script; Build within CI

parent 17f3dcd0
......@@ -58,6 +58,8 @@ mkdocs:
- bash scripts/add_version.sh
# get modules list from clusters
- bash scripts/get_modules.sh
# regenerate modules matrix
- python scripts/modules-matrix.py > docs.it4i/modules-matrix.md
# build pages
- mkdocs build
# compress search_index.json
......
#!/usr/bin/python
# -*- coding: utf-8 -*-
import csv
import collections
......@@ -39,7 +40,7 @@ c=[
print '!!! Hint "Cluster Acronyms"'
print ' A - Anselm • S - Salomon • U - uv1 at Salomon'
print
print '| Module </br><input id="searchInput" placeholder="🔍 Filter" style="width: 8rem; border-radius: 0.2rem; color: black; padding-left: .2rem;"> | Versions | Clusters |'
print "| ------ | -------- | -------- |"
......@@ -69,5 +70,6 @@ for m in sorted(software.items(), key=lambda i: i[0].lower()):
#print '</br>'.join(m[1].keys())
#print '</br>'.join(m[1].values())
print "| %s | %s | %s |" % (software, '</br>'.join(m[1].keys()), '</br>'.join(m[1].values()))
print
print '---8<--- "modules_matrix_search.md"'
print
print '---8<--- "modules_matrix_search.md"'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment