Commit b6e1f421 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

DOC: deprecated applications are now always in the Deprecated section of the cookbook

No related merge requests found
Showing with 4 additions and 1 deletion
+4 -1
...@@ -414,7 +414,10 @@ def GenerateRstForApplications(rst_dir): ...@@ -414,7 +414,10 @@ def GenerateRstForApplications(rst_dir):
tags = GetApplicationTags(appName) tags = GetApplicationTags(appName)
if not tags or len(tags) == 0: if not tags or len(tags) == 0:
raise RuntimeError("No tags for application: " + appName) raise RuntimeError("No tags for application: " + appName)
tag = tags[0] if "Deprecated" in tags:
tag = "Deprecated"
else:
tag = tags[0]
tag_ = tag.replace(" ", "_") tag_ = tag.replace(" ", "_")
# Add it to the index (i.e. https://www.orfeo-toolbox.org/CookBook/Applications.html) # Add it to the index (i.e. https://www.orfeo-toolbox.org/CookBook/Applications.html)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment