diff --git a/packaging/format-docs.py b/packaging/format-docs.py index 1f3d007d02..aeb6286eb6 100644 --- a/packaging/format-docs.py +++ b/packaging/format-docs.py @@ -70,7 +70,7 @@ def format_docs(version, collectionName, types, relatedEnums): sourceUrl = "" if currentType["Filename"]: - sourceUrl = f"https://github.com/OpenRA/OpenRA/blob/{version}/{currentType["Filename"]}" + sourceUrl = f"https://github.com/OpenRA/OpenRA/blob/{version}/{currentType['Filename']}" description = f"{description} [GitHub]({sourceUrl})" if description: