Skip to content

Commit

Permalink
Showing paths in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigfried committed Dec 17, 2024
1 parent 0d4a8eb commit bb3afeb
Show file tree
Hide file tree
Showing 2 changed files with 750 additions and 750 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def generate_markdown(root_dir, output_file):
section.append(f'<a id="{var_anchor}"></a>')

# Variable name, concept and description
var_heading = f"## **{data['name']}** ({data.get('phenotype_concept', 'N/A')})"
var_heading = f"## {directory}: **{data['name']}** ({data.get('phenotype_concept', 'N/A')})"
section.append(var_heading)
section.append(f" {data.get('description', 'N/A')}")

Expand Down Expand Up @@ -98,7 +98,7 @@ def generate_markdown(root_dir, output_file):
# Harmonization units
if data.get('harmonization_units'):
for unit in data['harmonization_units']:
unit_heading = f" * ### **{unit['name']}**:"
unit_heading = f" * ### {directory}/{data['name']} -- **{unit['name']}**:"
unit_anchor = create_anchor(f"{data['name']}-{unit['name']}")
section.append(f'<a id="{unit_anchor}"></a>')
section.append(unit_heading)
Expand Down
Loading

0 comments on commit bb3afeb

Please sign in to comment.