Skip to content

Commit b8cdd06

Browse files
Merge pull request #49 from nfdi4cat/HendrikBorgelt-patch-1
Update iframe source path in generate_schema_docs.py
2 parents 9f22367 + e3ad4cc commit b8cdd06

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/design-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This page explains the key structural decisions behind CoreMeta4Cat — how the
99

1010
<div style="text-align: center;">
1111
<a>
12-
<img src="/CoreMeta4Cat/images/CoreMeta4Cat_Picture.png" alt="CoreMeta4Cat logo" style="width: 40%;">
12+
<img src="/images/CoreMeta4Cat_Picture.png" alt="CoreMeta4Cat logo" style="width: 40%;">
1313
</a>
1414
</div>
1515
---

docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Adopting a new metadata standard does not have to mean changing how you work ove
99

1010
<div style="text-align: center;">
1111
<a>
12-
<img src="/CoreMeta4Cat/images/CoreMeta4Cat_Picture.png" alt="CoreMeta4Cat logo" style="width: 40%;">
12+
<img src="/images/CoreMeta4Cat_Picture.png" alt="CoreMeta4Cat logo" style="width: 40%;">
1313
</a>
1414
</div>
1515

@@ -40,7 +40,7 @@ Level 4 ──► Validate records against the full CoreMeta4Cat schema
4040
To help you understand which terms exist and how they relate to each other, CoreMeta4Cat provides a reference Excel workbook. This workbook is **not a data entry form to fill in** — it is a structured overview of the CoreMeta4Cat vocabulary hierarchy, organised by data class, that you can use as a lookup reference when designing or annotating your own data sheets.
4141

4242
<div style="text-align: center; margin: 1.5em 0;">
43-
<a href="/CoreMeta4Cat/assets/coremeta4cat_vocabulary.xlsx"
43+
<a href="../assets/coremeta4cat_vocabulary.xlsx"
4444
style="display: inline-block; padding: 0.7em 1.6em; background: #1976d2; color: white;
4545
border-radius: 4px; text-decoration: none; font-weight: bold;">
4646
⬇ Download the CoreMeta4Cat vocabulary reference workbook

docs/how-to-extend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This page explains how to add new entries to the CoreMeta4Cat schema — new pre
99

1010
<div style="text-align: center;">
1111
<a>
12-
<img src="/CoreMeta4Cat/images/CoreMeta4Cat_Picture.png" alt="CoreMeta4Cat logo" style="width: 40%;">
12+
<img src="/images/CoreMeta4Cat_Picture.png" alt="CoreMeta4Cat logo" style="width: 40%;">
1313
</a>
1414
</div>
1515

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ theme:
1212
- navigation.instant
1313
- navigation.instant.progress
1414
- navigation.tracking
15-
logo: /CoreMeta4Cat/images/CoreMeta4Cat_Picture.png
15+
logo: /images/CoreMeta4Cat_Picture.png
1616

1717
# for adding extra css/js see https://www.mkdocs.org/user-guide/customizing-your-theme/
1818

scripts/generate_schema_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def generate_markdown_for_main_class(schema: dict, main_class: str, output_file:
355355
if class_uri:
356356
md += f"**CURIE:** [`{class_uri}`]({class_uri})\n\n"
357357

358-
md += (f'<iframe\n src="/CoreMeta4Cat/assets/metadata_{main_class.lower()}_hierarchy.html"\n'
358+
md += (f'<iframe\n src="/assets/metadata_{main_class.lower()}_hierarchy.html"\n'
359359
f' width="100%"\n height= "470vh"\n'
360360
f' style="border: 2px solid #5C88DA; background-color: #F0F8FF;\n "\n'
361361
f' allowfullscreen\n></iframe>')

0 commit comments

Comments
 (0)