Skip to content

Commit 20a4645

Browse files
authored
Merge pull request #711 from EESSI/add_back_ldjson
2 parents b7029a7 + 931d8d8 commit 20a4645

7 files changed

Lines changed: 0 additions & 14 deletions

File tree

scripts/available_software/available_software.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,6 @@ def generate_software_page(software_name: str, software_data: dict, path: str) -
279279
ldjson_software_data["description"] = json.dumps(ldjson_software_data["description"])[1:-1]
280280
json_str = ldjson_template.substitute(ldjson_software_data) # Replace placeholders
281281
json_topmatter = json.loads(json_str)
282-
# Remove the TOC
283-
json_topmatter["hide"] = ["toc"]
284282
yaml_topmatter = yaml.dump(json_topmatter)
285283
f.write("---\n" + yaml_topmatter + "---\n" + read_data)
286284

scripts/available_software/tests/reference_detail/CUDA-Samples.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
hide:
3-
- toc
42
json_ld:
53
'@context': https://schema.org
64
'@type': SoftwareApplication

scripts/available_software/tests/reference_detail/ESPResSo.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
hide:
3-
- toc
42
json_ld:
53
'@context': https://schema.org
64
'@type': SoftwareApplication

scripts/available_software/tests/reference_detail/PMIx.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
hide:
3-
- toc
42
json_ld:
53
'@context': https://schema.org
64
'@type': SoftwareApplication

scripts/available_software/tests/reference_detail/Salmon.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
hide:
3-
- toc
42
json_ld:
53
'@context': https://schema.org
64
'@type': SoftwareApplication

scripts/available_software/tests/reference_detail/hatchling.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
hide:
3-
- toc
42
json_ld:
53
'@context': https://schema.org
64
'@type': SoftwareApplication

scripts/available_software/tests/reference_detail/xterm.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
hide:
3-
- toc
42
json_ld:
53
'@context': https://schema.org
64
'@type': SoftwareApplication

0 commit comments

Comments
 (0)