New template and options for Service-Based-View #61

Merged
zuul merged 15 commits from template_sbv into main 2023-04-20 13:10:19 +00:00
3 changed files with 60 additions and 1 deletions
Showing only changes of commit 44c6d17aad - Show all commits

View File

@ -182,9 +182,9 @@ def process_repositories(args, service):
logo_url="https://docs-int.otc-service.com", logo_url="https://docs-int.otc-service.com",
) )
sbv_title = (service["service_title"] + "\n" + ('=' * len(service["service_title"]))) sbv_title = (service["service_title"] + "\n" + ('=' * len(service["service_title"])))
content["sbv_title"] = sbv_title context["sbv_title"] = sbv_title
conf_py_content = conf_py_template.render(**context) conf_py_content = conf_py_template.render(**context)
index_sbv_content = index_sbv_template.render(**content) index_sbv_content = index_sbv_template.render(**context)
with open( with open(
pathlib.Path(copy_path, "conf.py"), pathlib.Path(copy_path, "conf.py"),
"w", "w",