Skip to content

Commit

Permalink
Merge pull request #207 from ODU-CGA-CubeSat/docops/fix-broken-derive…
Browse files Browse the repository at this point in the history
…dfrom-links/206

fix broken derivedFrom links
  • Loading branch information
kchiu002 authored Feb 23, 2022
2 parents 7d0ed1f + efb27b3 commit 6a51baf
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 6a51baf

Please sign in to comment.