lib/asciidoctor/iso/front.rb in metanorma-iso-1.10.4 vs lib/asciidoctor/iso/front.rb in metanorma-iso-1.10.5
- old
+ new
@@ -144,14 +144,27 @@
title_amd(node, xml, lang, at) if @amd
end
end
def relaton_relations
- super + %w(obsoletes)
+ super + %w(obsoletes successor-of manifestation-of related annotation-of)
end
def relaton_relation_descriptions
- super.merge("amends" => "updates")
+ super.merge(
+ "amends" => "updates", "revises" => "updates",
+ "replaces" => "obsoletes",
+ "supersedes" => "obsoletes",
+ "corrects" => "updates",
+ "informatively-cited-in" => "isCitedIn",
+ "informatively-cites" => "cites",
+ "normatively-cited in" => "isCitedIn",
+ "normatively-cites" => "cites",
+ "identical-adopted-from" => "adoptedFrom",
+ "modified-adopted-from" => "adoptedFrom",
+ "related-directive" => "related",
+ "related-mandate" => "related",
+ )
end
end
end
end