thisisnic commented on code in PR #35103:
URL: https://github.com/apache/arrow/pull/35103#discussion_r1176368899


##########
dev/release/utils-update-docs-versions.py:
##########
@@ -87,3 +88,15 @@
 with open(r_versions_path, 'w') as json_file:
     json.dump(new_r_versions, json_file, indent=4)
     json_file.write("\n")
+
+# Load the updated versions JSON file
+with open(r_versions_path) as json_file:
+    data = json.load(json_file)
+
+# Write HTML to file
+with open(r_html_path, 'w') as html_file:
+    html_file.write('<!DOCTYPE html>\n<html>\n<body>')
+    for i in data:
+        html_file.write('<p><a href="../' + i['version'] + 'r/">' + i['name'] 
+ '</a></p>\n')

Review Comment:
   Thanks, done!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to