Skip to content
Snippets Groups Projects
Commit deebaf7e authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

modified: content/docs/cs/meta.json

	modified:   content/docs/general/accessing-the-clusters/meta.json
	modified:   content/docs/general/meta.json
	modified:   content/docs/meta.json
	modified:   content/docs/salomon/meta.json
	modified:   content/docs/salomon/software/meta.json
	modified:   content/docs/software/bio/meta.json
	modified:   content/docs/software/cae/meta.json
	modified:   content/docs/software/chemistry/meta.json
	modified:   content/docs/software/intel/meta.json
	modified:   content/docs/software/meta.json
	modified:   content/docs/software/tools/ansys/meta.json
	modified:   content/docs/software/tools/meta.json
	modified:   content/docs/software/viz/meta.json
	modified:   content/docs/src/meta.json
	modified:   scripts/meta-json.sh
parent 6d4d87f1
No related branches found
No related tags found
1 merge request!486new file: content/docs/anselm/compute-nodes.mdx
Showing
with 70 additions and 12 deletions
......@@ -2,6 +2,7 @@
"title": "Cs",
"pages": [
"accessing",
"guides",
"introduction",
"job-scheduling",
"specifications"
......
{
"title": "Accessing-the-clusters",
"pages": [
"graphical-user-interface",
"shell-access-and-data-transfer",
"tmux",
"vpn-access"
]
......
{
"title": "General",
"pages": [
"access",
"accessing-the-clusters",
"applying-for-resources",
"aup",
"barbora-partitions",
......@@ -14,6 +16,8 @@
"karolina-mpi",
"karolina-partitions",
"karolina-slurm",
"management",
"obtaining-login-credentials",
"pbs-job-submission-and-execution",
"resource-accounting",
"resource_allocation_and_job_execution",
......@@ -22,6 +26,7 @@
"shell-and-data-access",
"slurm-batch-examples",
"slurm-job-submission-and-execution",
"support"
"support",
"tools"
]
}
{
"title": "Docs",
"pages": [
"anselm",
"apiv1",
"archive",
"barbora",
"cloud",
"cs",
"dgx2",
"dice",
"einfracz-migration",
"environment-and-modules",
"general",
"index",
"job-features",
"prace"
"karolina",
"lumi",
"prace",
"salomon",
"software",
"src",
"storage"
]
}
......@@ -7,6 +7,7 @@
"ib-single-plane-topology",
"introduction",
"network",
"software",
"storage",
"visualization"
]
......
{
"title": "Software",
"pages": []
"pages": [
"numerical-libraries"
]
}
{
"title": "Bio",
"pages": []
"pages": [
"omics-master"
]
}
{
"title": "Cae",
"pages": []
"pages": [
"comsol"
]
}
{
"title": "Chemistry",
"pages": [
"files-nwchem",
"files-phono3py",
"files-phonopy",
"gaussian",
"molpro",
"nwchem",
......
{
"title": "Intel",
"pages": []
"pages": [
"intel-suite"
]
}
{
"title": "Software",
"pages": [
"bio",
"cae",
"chemistry",
"compilers",
"data-science",
"debuggers",
"eessi",
"intel",
"isv_licenses",
"karolina-compilation",
"nvidia-cuda-q",
"lang",
"machine-learning",
"modules",
"mpi",
"numerical-languages",
"numerical-libraries",
"nvidia-cuda",
"nvidia-hip"
"nvidia-cuda-q",
"nvidia-hip",
"sdk",
"tools",
"viz"
]
}
{
"title": "Ansys",
"pages": [
"ansys",
"ansys-cfx",
"ansys-fluent",
"ansys-ls-dyna",
"ansys-mechanical-apdl",
"ansys",
"licensing",
"setting-license-preferences",
"workbench"
......
{
"title": "Tools",
"pages": [
"ansys",
"apptainer",
"easybuild-images",
"easybuild",
"easybuild-images",
"singularity",
"spack",
"virtualization"
......
......@@ -4,6 +4,7 @@
"NICEDCVsoftware",
"gpi2",
"insitu",
"insitu",
"openfoam",
"ovito",
"paraview",
......
{
"title": "Src",
"pages": []
"pages": [
"ompi"
]
}
#!/bin/bash
find content/docs -type d -exec bash -c 'cd "{}" && DIR=$(basename "$PWD"); TITLE=$(echo "$DIR" | sed -E "s/^(.)/\U\1/") && jq -n --arg title "$TITLE" --argjson pages "$(ls *.mdx 2>/dev/null | sed "s/\.mdx$//" | jq -R . | jq -s .)" "{title: \$title, pages: \$pages}" > meta.json' \;
find content/docs -type d -exec bash -c '
cd "{}" || exit
DIR=$(basename "$PWD")
TITLE=$(echo "$DIR" | sed -E "s/^(.)/\U\1/")
PAGES=$( (ls *.mdx 2>/dev/null | sed "s/\.mdx$//"; ls -d */ 2>/dev/null | sed "s#/##") | sort | jq -R . | jq -s . )
jq -n --arg title "$TITLE" --argjson pages "$PAGES" "{title: \$title, pages: \$pages}" > meta.json
' \;
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment