update scripts for latest templates

This commit is contained in:
2022-11-09 17:14:49 +01:00
parent 338c58e5fa
commit a4dd457062
7 changed files with 241 additions and 43 deletions

View File

@ -195,8 +195,9 @@ class Services(object):
rst_location=doc["rst_location"],
title=doc["title"],
type=doc.get("type", "dummy"),
pdf_name=doc["pdf_name"],
)
if "pdf_name" in doc:
doc_res["pdf_name"] = doc["pdf_name"]
if "hc_location" in doc:
doc_res["hc_location"] = doc["hc_location"]
srv_res["docs"].append(doc_res)