Skip to content

Commit

Permalink
fix broken derivedFrom links
Browse files Browse the repository at this point in the history
  • Loading branch information
capsulecorplab committed Feb 23, 2022
1 parent 7d0ed1f commit efb27b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/sealion-mission-architecture.adoc.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ As a *{{us.actor}}* I want to *{{us.behavior}}* so that I can *{{us.rationale}}*
* {{architecture['elements'][derivedFromItem].url}}[{{architecture['elements'][derivedFromItem].title}}]
{% endif %}
{% if architecture['elements'][derivedFromItem].name %}
* xref:{doc-name}#_{{architecture['elements'][derivedFromItem].id | downcase | replace: " ", "_" | replace: ".", "_"}}_{{architecture['elements'][derivedFromItem].name | downcase | replace: " ", "_"}}[{{architecture['elements'][derivedFromItem].name}}]
* xref:{{architecture.package.name}}#_{{architecture['elements'][derivedFromItem].id | downcase | replace: " ", "_" | replace: ".", "_"}}_{{architecture['elements'][derivedFromItem].name | downcase | replace: " ", "_"}}[{{architecture['elements'][derivedFromItem].name}}]
{% endif %}
{% endfor %}
{% endif %}
Expand Down Expand Up @@ -115,7 +115,7 @@ a|{% for reference in field.derivedFrom %}
* {{architecture['elements'][derivedFromItem].url}}[{{architecture['elements'][derivedFromItem].title}}]
{% endif %}
{% if architecture['elements'][derivedFromItem].name %}
* xref:{doc-name}#_{{architecture['elements'][derivedFromItem].id | downcase | replace: " ", "_" | replace: ".", "_"}}_{{architecture['elements'][derivedFromItem].name | downcase | replace: " ", "_"}}[{{architecture['elements'][derivedFromItem].name}}]
* xref:{{architecture.package.name}}#_{{architecture['elements'][derivedFromItem].id | downcase | replace: " ", "_" | replace: ".", "_"}}_{{architecture['elements'][derivedFromItem].name | downcase | replace: " ", "_"}}[{{architecture['elements'][derivedFromItem].name}}]
{% endif %}
{% endfor %}
{% endif %}
Expand Down

0 comments on commit efb27b3

Please sign in to comment.