Commit ad74a784 authored by Mark Canterbury's avatar Mark Canterbury
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 2d591efe
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -24,6 +24,7 @@ for tag in tags:
    print(tag.name)
    print(tag.name)
    version = tag.name.split('/')[2]
    version = tag.name.split('/')[2]
    spec_version = next((x for x in spec_history if x.version == version), None)
    spec_version = next((x for x in spec_history if x.version == version), None)
    out_str += "\n\n"
    out_str += f"# TS {spec} v{tag.name.split('/')[2]}\n"
    out_str += f"# TS {spec} v{tag.name.split('/')[2]}\n"
    out_str += f"{tag.message}, tagged as [{tag.name}]({root_url}li/schemas-definitions/-/tree/{tag.name}/{spec.replace(" ","")}?ref_type=tags)"
    out_str += f"{tag.message}, tagged as [{tag.name}]({root_url}li/schemas-definitions/-/tree/{tag.name}/{spec.replace(" ","")}?ref_type=tags)"
    if spec_version is not None and spec_version.pdfLink is not None and spec_version.pdfLink != "":
    if spec_version is not None and spec_version.pdfLink is not None and spec_version.pdfLink != "":