Skip to content

Commit 96da8d6

Browse files
committed
Retain ToC for software detail pages
1 parent b7029a7 commit 96da8d6

1 file changed

Lines changed: 0 additions & 2 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

0 commit comments

Comments
 (0)