Skip to content

Commit

Permalink
add clickable nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed Jun 6, 2024
1 parent 51eae1d commit 29e34eb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/mkdocs.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ This page provides comprehensive information about the structure and components
{%- endfor %}
{%- endfor %}
{%- endfor %}
{% for object in object_names %}
click {{ object | lower }} "#{{ object | lower }}" "Go to {{ object }}"
{%- endfor %}
{%- for enum in enum_names %}
click {{ enum | lower }} "#{{ enum | lower }}" "Go to {{ enum }}"
{%- endfor %}
```

{% if prefixes | length > 0 %}
Expand Down
4 changes: 4 additions & 0 deletions tests/data/expected_mkdocs.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ This page provides comprehensive information about the structure and components
flowchart TB
test(Test) --> test2(Test2)
test(Test) --> ontology(Ontology)

click test "#test" "Go to Test"
click test2 "#test2" "Go to Test2"
click ontology "#ontology" "Go to Ontology"
```


Expand Down

0 comments on commit 29e34eb

Please sign in to comment.